[ 
https://issues.apache.org/jira/browse/HADOOP-19903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmar Suhail updated HADOOP-19903:
----------------------------------
    Description: 
The GCS rename docs mention 

```
Note that only the metadata is copied and not the content of any file.
```

here: 
https://github.com/apache/hadoop/blob/trunk/hadoop-cloud-storage-project/hadoop-gcp/src/main/java/org/apache/hadoop/fs/gs/GoogleCloudStorageFileSystem.java#L441-L447

I am not sure if this is true, as if you follow the code to the actual API 
call, it ends up as a 
storage.objects().copy() in GoogleCloudStorageImpl.copyInternal(). 
 
I want to clarify the behaviour and then update the javadocs as I am a bit 
confused right now. 

  was:
The GCS rename docs mention 

```
Note that only the metadata is copied and not the content of any file.
```

I am not sure if this is true, as if you follow the code to the actual API 
call, it ends up as a 
storage.objects().copy() in GoogleCloudStorageImpl.copyInternal(). 
 
I want to clarify the behaviour and then update the javadocs as I am a bit 
confused right now. 


> Update documentation for GCS connector
> --------------------------------------
>
>                 Key: HADOOP-19903
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19903
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/gcs
>    Affects Versions: 3.6.0
>            Reporter: Ahmar Suhail
>            Assignee: Ahmar Suhail
>            Priority: Major
>
> The GCS rename docs mention 
> ```
> Note that only the metadata is copied and not the content of any file.
> ```
> here: 
> https://github.com/apache/hadoop/blob/trunk/hadoop-cloud-storage-project/hadoop-gcp/src/main/java/org/apache/hadoop/fs/gs/GoogleCloudStorageFileSystem.java#L441-L447
> I am not sure if this is true, as if you follow the code to the actual API 
> call, it ends up as a 
> storage.objects().copy() in GoogleCloudStorageImpl.copyInternal(). 
>  
> I want to clarify the behaviour and then update the javadocs as I am a bit 
> confused right now. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to