You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Jie Huang (JIRA)" <ji...@apache.org> on 2012/07/16 11:17:33 UTC

[jira] [Created] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Jie Huang created CHUKWA-648:
--------------------------------

             Summary: Make Chukwa Reduce Type to support hierarchy format
                 Key: CHUKWA-648
                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
             Project: Chukwa
          Issue Type: New Feature
          Components: Data Processors
    Affects Versions: 0.4.0, 0.6.0
            Reporter: Jie Huang


Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
{noformat}
hdfs/namenode
hdfs/datanode
...
{noformat}
A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428779#comment-13428779 ] 

Eric Yang commented on CHUKWA-648:
----------------------------------

I just committed the missing file.  Thanks Grace.
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Jie Huang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416884#comment-13416884 ] 

Jie Huang commented on CHUKWA-648:
----------------------------------

Thanks for your comments. I will update that file later. thanks.
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>         Attachments: Chukwa-648-0_4.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang resolved CHUKWA-648.
------------------------------

    Resolution: Fixed
    
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426288#comment-13426288 ] 

Hudson commented on CHUKWA-648:
-------------------------------

Integrated in Chukwa-trunk #455 (See [https://builds.apache.org/job/Chukwa-trunk/455/])
    CHUKWA-648. Make Chukwa Reduce Type to support hierarchy format. Contributed by Jie Huang. (Revision 1367843)

     Result = FAILURE
asrabkin : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1367843
Files : 
* /incubator/chukwa/trunk/CHANGES.txt
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/CHUKWA_CONSTANT.java
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/ChukwaRecordOutputFormat.java
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/DailyChukwaRecordRolling.java
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/HourlyChukwaRecordRolling.java
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/MoveToRepository.java
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/PostProcessorManager.java

                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415673#comment-13415673 ] 

Ari Rabkin commented on CHUKWA-648:
-----------------------------------

Overall approach looks solid. 

A few quibbles about the patch.

HierarchyDataType shouldn't have an empty main() method. 

HierarchyDataType SHOULD have a top-level Javadoc comment saying a bit about what it's for and where it's used.
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>         Attachments: Chukwa-648-0_4.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428786#comment-13428786 ] 

Hudson commented on CHUKWA-648:
-------------------------------

Integrated in Chukwa-trunk #456 (See [https://builds.apache.org/job/Chukwa-trunk/456/])
    CHUKWA-648. Make Chukwa Reduce Type to support hierarchy format. (Jie Huang via asrabkin) (Revision 1369519)

     Result = SUCCESS
eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1369519
Files : 
* /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/util/HierarchyDataType.java

                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Jie Huang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427827#comment-13427827 ] 

Jie Huang commented on CHUKWA-648:
----------------------------------

@Eric, I have checked that patch file, it does contain "src/main/java/org/apache/hadoop/chukwa/util/HierarchyDataType.java" file. and I have checked all the unit test before uploading that patch file as well. I guess the possible cause is that svn doesn't detect that new adding file. 
{noformat}
/incubator/chukwa/trunk/CHANGES.txt
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/CHUKWA_CONSTANT.java
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/ChukwaRecordOutputFormat.java
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/DailyChukwaRecordRolling.java
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/HourlyChukwaRecordRolling.java
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/MoveToRepository.java
/incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/extraction/demux/PostProcessorManager.java
<<< NO HierarchyDataType.java file here.
{noformat}
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Jie Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jie Huang updated CHUKWA-648:
-----------------------------

    Attachment: Chukwa-648.patch

Here attaches the patch file against trunk. All the unit tests are passed on my local machine.
@Ari , could you please review the patch file? Thanks for your time. 
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ari Rabkin resolved CHUKWA-648.
-------------------------------

    Resolution: Fixed

I committed this one too. Thanks again for your participation and interest in Chukwa.
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428580#comment-13428580 ] 

Eric Yang commented on CHUKWA-648:
----------------------------------

Ari, I think you forgot to add the new file to svn.  Could you add the file?
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Jie Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jie Huang reassigned CHUKWA-648:
--------------------------------

    Assignee: Jie Huang
    
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang reopened CHUKWA-648:
------------------------------


This patch doesn't compile after check into trunk.
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Assignee: Jie Huang
>         Attachments: Chukwa-648-0_4.patch, Chukwa-648.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CHUKWA-648) Make Chukwa Reduce Type to support hierarchy format

Posted by "Jie Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jie Huang updated CHUKWA-648:
-----------------------------

    Attachment: Chukwa-648-0_4.patch

Here attaches the simple solution against 0.4 version. If the feature is acceptable, I will try to upgrade that patch against trunk. 
                
> Make Chukwa Reduce Type to support hierarchy format
> ---------------------------------------------------
>
>                 Key: CHUKWA-648
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-648
>             Project: Chukwa
>          Issue Type: New Feature
>          Components: Data Processors
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>         Attachments: Chukwa-648-0_4.patch
>
>
> Currently the Reduce Type decides the final directory-structure of the processed data over HDFS. And it doesn't support a hierarchy format like 
> {noformat}
> hdfs/namenode
> hdfs/datanode
> ...
> {noformat}
> A hierarchy structure makes it easy to do the HDFS File Filter versus to the flat storage structure while doing the analysis job.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira