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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/07/16 05:55:59 UTC

[jira] [Created] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

1073: fix CreateEditsLog test tool in branch
--------------------------------------------

                 Key: HDFS-2160
                 URL: https://issues.apache.org/jira/browse/HDFS-2160
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067248#comment-13067248 ] 

Eli Collins commented on HDFS-2160:
-----------------------------------

+1 looks good

bq. Note the change to bin/hdfs to be able to run an arbitrary class with HDFS on the classpath.

I think this is reasonable, I was initially thinking that we should have a command in bin/hdfs for all options but I think its better not to create an explicit user interface for uses like this.

> 1073: fix CreateEditsLog test tool in branch
> --------------------------------------------
>
>                 Key: HDFS-2160
>                 URL: https://issues.apache.org/jira/browse/HDFS-2160
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Edit log branch (HDFS-1073)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: Edit log branch (HDFS-1073)
>
>         Attachments: hdfs-2160.txt
>
>
> This was commented out earlier in the branch. Needs trivial fixing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

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

Todd Lipcon resolved HDFS-2160.
-------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

> 1073: fix CreateEditsLog test tool in branch
> --------------------------------------------
>
>                 Key: HDFS-2160
>                 URL: https://issues.apache.org/jira/browse/HDFS-2160
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Edit log branch (HDFS-1073)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: Edit log branch (HDFS-1073)
>
>         Attachments: hdfs-2160.txt
>
>
> This was commented out earlier in the branch. Needs trivial fixing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

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

Todd Lipcon updated HDFS-2160:
------------------------------

          Component/s: test
          Description: This was commented out earlier in the branch. Needs trivial fixing.
    Affects Version/s: Edit log branch (HDFS-1073)
        Fix Version/s: Edit log branch (HDFS-1073)

> 1073: fix CreateEditsLog test tool in branch
> --------------------------------------------
>
>                 Key: HDFS-2160
>                 URL: https://issues.apache.org/jira/browse/HDFS-2160
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Edit log branch (HDFS-1073)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: Edit log branch (HDFS-1073)
>
>
> This was commented out earlier in the branch. Needs trivial fixing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

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

Hudson commented on HDFS-2160:
------------------------------

Integrated in Hadoop-Hdfs-1073-branch #14 (See [https://builds.apache.org/job/Hadoop-Hdfs-1073-branch/14/])
    HDFS-2160. Fix CreateEditsLog test tool in HDFS-1073 branch. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1148070
Files : 
* /hadoop/common/branches/HDFS-1073/hdfs/bin/hdfs
* /hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
* /hadoop/common/branches/HDFS-1073/hdfs/CHANGES.HDFS-1073.txt


> 1073: fix CreateEditsLog test tool in branch
> --------------------------------------------
>
>                 Key: HDFS-2160
>                 URL: https://issues.apache.org/jira/browse/HDFS-2160
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Edit log branch (HDFS-1073)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: Edit log branch (HDFS-1073)
>
>         Attachments: hdfs-2160.txt
>
>
> This was commented out earlier in the branch. Needs trivial fixing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2160) 1073: fix CreateEditsLog test tool in branch

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

Todd Lipcon updated HDFS-2160:
------------------------------

    Attachment: hdfs-2160.txt

Simple patch to fix this.
I tested using the following command line:

{noformat}
HADOOP_CLASSPATH=build/test/hdfs/classes:build/ivy/lib/hadoop-hdfs/test/mockito-all-1.8.2.jar ./bin/hdfs org.apache.hadoop.hdfs.server.namenode.CreateEditsLog -f 1000 1 1
{noformat}

and then used the oev to verify the resulting edits file.

Note the change to bin/hdfs to be able to run an arbitrary class with HDFS on the classpath.

> 1073: fix CreateEditsLog test tool in branch
> --------------------------------------------
>
>                 Key: HDFS-2160
>                 URL: https://issues.apache.org/jira/browse/HDFS-2160
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Edit log branch (HDFS-1073)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: Edit log branch (HDFS-1073)
>
>         Attachments: hdfs-2160.txt
>
>
> This was commented out earlier in the branch. Needs trivial fixing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira