You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2012/12/01 19:49:58 UTC
[jira] [Created] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Suresh Srinivas created HDFS-4256:
-------------------------------------
Summary: Support for concatenation of files into a single file in branch-1
Key: HDFS-4256
URL: https://issues.apache.org/jira/browse/HDFS-4256
Project: Hadoop HDFS
Issue Type: Test
Components: namenode
Affects Versions: 1.2.0
Reporter: Suresh Srinivas
Assignee: Suresh Srinivas
HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508132#comment-13508132 ]
Suresh Srinivas commented on HDFS-4256:
---------------------------------------
bq. HDFS-222 has a requirement that all files's block lengths be the same (not very practical for many usecases, even if it helps that you write data and pad them in parallel) and also required a protocol version upping.
I understand HDFS-222 and its limitations. I had worked closely on that. I also think protocol version upping can be done if we adding it in another release like 1.2.0 right? Is there any issue with that?
bq. If you don't mind me asking, do we really need this too back-ported into branch-1 when branch-2 is nearing a stable release?
Even though branch-2 is nearing stable release, there are many folks who want to remain on the releases that they are running. You see that in the questions asked on the mailing list where people are still 0.20 release. I feel that if there are features that are of interest, we should be able to add them back to earlier releases.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (HDFS-4256) Support for concatenation of
files into a single file in branch-1
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508341#comment-13508341 ]
Suresh Srinivas edited comment on HDFS-4256 at 12/2/12 8:12 PM:
----------------------------------------------------------------
bq. I didn't call out on this (stability aspect?). Unsure why you're exclaiming it, thats all
Exclamation was to indicate that this a very old change and not the stability aspect.
bq. We have a release out there we aren't yet encouraging adoption upon, which has all this in it already.
Not sure I understand. In case you are talking about 0.21, you know the status of that as well as 0.22.
bq. are we also intending to do the DistCp optimizations that can benefit from this, i.e. MAPREDUCE-2117 and MAPREDUCE-2557, so that there's also an internal use of this, out of the box
Right now I was not planning to. I encourage you to port it to 1.0, if you think the users benefit from it.
was (Author: sureshms):
bq. I didn't call out on this (stability aspect?). Unsure why you're exclaiming it, thats all
Exclamation was to indicate that this a very old change and not the stability aspect.
bq. We have a release out there we aren't yet encouraging adoption upon, which has all this in it already.
Not sure I understand. In case you are talking about 0.21, you know the status of that as well as 0.22.
bq. are we also intending to do the DistCp optimizations that can benefit from this, i.e. MAPREDUCE-2117 and MAPREDUCE-2557, so that there's also an internal use of this, out of the box
Right now I was planning to. I encourage you to port it to 1.0, if you think the users benefit from it.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509283#comment-13509283 ]
Sanjay Radia commented on HDFS-4256:
------------------------------------
Since this is an addition of a *new* rpc method in clientProtocol (not a change in signature or deletion of an existing method), wire compatibility remains and hence the version number does not need to be bumped.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Harsh J (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508339#comment-13508339 ]
Harsh J commented on HDFS-4256:
-------------------------------
bq. This work was done three years ago!
I didn't call out on this (stability aspect?). Unsure why you're exclaiming it, thats all :)
bq. On the contrary, not porting small improvements to stable releases…
We have a release out there we aren't yet encouraging adoption upon, which has all this in it already.
In any case, are we also intending to do the DistCp optimizations that can benefit from this, i.e. MAPREDUCE-2117 and MAPREDUCE-2557, so that there's also an internal use of this, out of the box? :)
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508317#comment-13508317 ]
Suresh Srinivas commented on HDFS-4256:
---------------------------------------
This work was done three years ago!
bq. This just feels like more backward work to me
I actually do not think so. No one is proposing porting all the features or large features like Federation. That will be a lot of work. On the contrary, not porting small improvements to stable releases has resulted people putting together their own Frankenstein releases or move to non Apache releases into other distributions that backport changes.
bq. But am not intending to block it in any way...
I have seen these type of discussions in a couple of the jiras :-) In the end what goes in is a call of Release Manager. As long we are not backporting changes that result in huge stability issues or if it is mitigated with adequate testing, I do not see why back porting should be discouraged.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Harsh J (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508145#comment-13508145 ]
Harsh J commented on HDFS-4256:
-------------------------------
Suresh,
Thanks for commenting back!
bq. I also think protocol version upping can be done if we adding it in another release like 1.2.0 right? Is there any issue with that?
bq. You see that in the questions asked on the mailing list where people are still 0.20 release.
I am not strongly against this; but I do feel users wouldn't move to a higher releases unless *we* urged them (we release it after all) and we haven't been doing that in any good form.
This just feels like more backward work to me (moving features backwards, 'stead of just stability fixes and optimizations). But am not intending to block it in any way - just wished to voice this cause users of HDFS stand to benefit more with a full move ahead. Please go ahead :)
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia updated HDFS-4256:
-------------------------------
Attachment: HDFS-4256.patch
Patch for branch-1.
While I followed the patch of HDFS-222,
I used the updated code from trunk since it had improved code.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: HDFS-4256.patch
>
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508341#comment-13508341 ]
Suresh Srinivas commented on HDFS-4256:
---------------------------------------
bq. I didn't call out on this (stability aspect?). Unsure why you're exclaiming it, thats all
Exclamation was to indicate that this a very old change and not the stability aspect.
bq. We have a release out there we aren't yet encouraging adoption upon, which has all this in it already.
Not sure I understand. In case you are talking about 0.21, you know the status of that as well as 0.22.
bq. are we also intending to do the DistCp optimizations that can benefit from this, i.e. MAPREDUCE-2117 and MAPREDUCE-2557, so that there's also an internal use of this, out of the box
Right now I was planning to. I encourage you to port it to 1.0, if you think the users benefit from it.
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Radia reassigned HDFS-4256:
----------------------------------
Assignee: Sanjay Radia (was: Suresh Srinivas)
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Sanjay Radia
> Attachments: HDFS-4256.patch
>
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4256) Support for concatenation of files
into a single file in branch-1
Posted by "Harsh J (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508025#comment-13508025 ]
Harsh J commented on HDFS-4256:
-------------------------------
HDFS-222 has a requirement that all files's block lengths be the same (not very practical for many usecases, even if it helps that you write data and pad them in parallel) and also required a protocol version upping.
If you don't mind me asking, do we really need this too back-ported into branch-1 when branch-2 is nearing a stable release?
> Support for concatenation of files into a single file in branch-1
> -----------------------------------------------------------------
>
> Key: HDFS-4256
> URL: https://issues.apache.org/jira/browse/HDFS-4256
> Project: Hadoop HDFS
> Issue Type: Test
> Components: namenode
> Affects Versions: 1.2.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
>
> HDFS-222 added support concatenation of multiple files in a directory into a single file. This helps several use cases where writes can be parallelized and several folks have expressed in this functionality.
> This jira intends to make changes equivalent from HDFS-222 into branch-1 to be made available release 1.2.0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira