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 "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 21:12:30 UTC

[jira] [Created] (HDFS-2404) webhdfs liststatus json response is not correct

webhdfs liststatus json response is not correct
-----------------------------------------------

                 Key: HDFS-2404
                 URL: https://issues.apache.org/jira/browse/HDFS-2404
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 0.20.205.0
            Reporter: Arpit Gupta
            Assignee: Suresh Srinivas




--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #64 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/])
    svn merge -c 1180757 from trunk for HDFS-2404.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Attachment: HDFS-2404.txt

Updated patch.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Target Version/s: 0.20.205.0, 0.23.0  (was: 0.23.0, 0.20.205.0)
              Status: Patch Available  (was: Reopened)
    
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hadoop QA commented on HDFS-2404:
---------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12498085/HDFS-2404.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//console

This message is automatically generated.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Target Version/s: 0.20.205.0, 0.23.0  (was: 0.23.0, 0.20.205.0)
       Fix Version/s: 0.24.0
    
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Matt Foley resolved HDFS-2404.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.205.0

Committed to 0.20-sec and 0.20.205.  Thanks Suresh!  And thanks, Nicholas, for the review.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas commented on HDFS-2404:
---------------------------------------

Nicholas thanks for catching that.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Arpit Gupta commented on HDFS-2404:
-----------------------------------

curl -i "http://HOST:50070/webhdfs/?op=LISTSTATUS"

returns

{code}
{"HdfsFileStatus[]":[
{"HdfsFileStatus":{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"hbase","modificationTime":1317832608532,"owner":"hrt_hdfs","permission":"700","replication":0}},
{"HdfsFileStatus":{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"mapred","modificationTime":1317832616195,"owner":"mapred","permission":"755","replication":0}},
{code}


This when converted to xml is something like

{code}
<?xml version="1.0" encoding="UTF-8" ?>
	<HdfsFileStatus[]>
		<HdfsFileStatus>
			<accessTime>0</accessTime>
			<blockSize>0</blockSize>
			<group>hadoop</group>
			<isDir>true</isDir>
			<len>0</len>
			<localName>hbase</localName>
			<modificationTime>1317832608532</modificationTime>
			<owner>hrt_hdfs</owner>
			<permission>700</permission>
			<replication>0</replication>
		</HdfsFileStatus>
	</HdfsFileStatus[]>
	<HdfsFileStatus[]>
		<HdfsFileStatus>
			<accessTime>0</accessTime>
			<blockSize>0</blockSize>
			<group>hadoop</group>
			<isDir>true</isDir>
			<len>0</len>
			<localName>mapred</localName>
			<modificationTime>1317832616195</modificationTime>
			<owner>mapred</owner>
			<permission>755</permission>
			<replication>0</replication>
		</HdfsFileStatus>
	</HdfsFileStatus[]>
	

{code}


We should instead return something like
{code}
{"HdfsFileStatus":[
{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"hbase","modificationTime":1317832608532,"owner":"hrt_hdfs","permission":"700","replication":0},
{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"mapred","modificationTime":1317832616195,"owner":"mapred","permission":"755","replication":0},
{"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"tmp","modificationTime":1317832565771,"owner":"hdfs","permission":"777","replication":0},
{"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"user","modificationTime":1317832647984,"owner":"hdfs","permission":"755","replication":0}]}
{code}

which maps to xml like

{code}
<?xml version="1.0" encoding="UTF-8" ?>
	<HdfsFileStatus>
		<accessTime>0</accessTime>
		<blockSize>0</blockSize>
		<group>hadoop</group>
		<isDir>true</isDir>
		<len>0</len>
		<localName>hbase</localName>
		<modificationTime>1317832608532</modificationTime>
		<owner>hrt_hdfs</owner>
		<permission>700</permission>
		<replication>0</replication>
	</HdfsFileStatus>
	<HdfsFileStatus>
		<accessTime>0</accessTime>
		<blockSize>0</blockSize>
		<group>hadoop</group>
		<isDir>true</isDir>
		<len>0</len>
		<localName>mapred</localName>
		<modificationTime>1317832616195</modificationTime>
		<owner>mapred</owner>
		<permission>755</permission>
		<replication>0</replication>
	</HdfsFileStatus>
	

{code}
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas commented on HDFS-2404:
---------------------------------------

Nicholas, I have not problem compiling. Which patch does not compile?
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2404:
-----------------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: HDFS-2316
    
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Attachment: HDFS-2404.txt

Updated patch for trunk.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121661#comment-13121661 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2404:
----------------------------------------------

Hi Suresh, please also update WebHdfsFileSystem.  Otherwise, it cannot be compiled.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121893#comment-13121893 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2404:
----------------------------------------------

The patch for trunk (HDFS-2404.txt) does not contain the WebHdfsFileSystem changes.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122489#comment-13122489 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2404:
----------------------------------------------

+1 the trunk patch looks good.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121908#comment-13121908 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2404:
----------------------------------------------

+1 for the 0.20s patch.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122284#comment-13122284 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2404:
----------------------------------------------

The new trunk patch does not have the following in WebHdfsFileSystem.java
{code}
-        HdfsFileStatus[].class.getSimpleName());
+        HdfsFileStatus.class.getSimpleName());
{code}
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1067 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1067/])
    HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Matt Foley updated HDFS-2404:
-----------------------------

     Target Version/s: 0.20.205.0, 0.23.0  (was: 0.20.205.0)
    Affects Version/s: 0.23.0
    
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #856 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/856/])
    HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Matt Foley reopened HDFS-2404:
------------------------------


Reopened for trunk fix.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1125 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1125/])
    HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/])
    svn merge -c 1180757 from trunk for HDFS-2404.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #64 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/])
    svn merge -c 1180757 from trunk for HDFS-2404.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

          Resolution: Fixed
    Target Version/s: 0.20.205.0, 0.23.0  (was: 0.23.0, 0.20.205.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

I committed the patch to trunk.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Attachment: HDFS-2404.20.txt

20 version of the patch.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Hdfs-trunk #826 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/826/])
    HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #63 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/])
    svn merge -c 1180757 from trunk for HDFS-2404.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2404:
-----------------------------------------

    Target Version/s: 0.20.205.0, 0.23.0  (was: 0.23.0, 0.20.205.0)
       Fix Version/s: 0.23.0

Merged to 0.23.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #52 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/])
    svn merge -c 1180757 from trunk for HDFS-2404.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hudson commented on HDFS-2404:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1047 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1047/])
    HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java

                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Suresh Srinivas updated HDFS-2404:
----------------------------------

    Attachment: HDFS-2404.txt

Attachment that removes the HDFSFileStatus for array elements.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2404.txt
>
>


--
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] (HDFS-2404) webhdfs liststatus json response is not correct

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

Hadoop QA commented on HDFS-2404:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12498049/HDFS-2404.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract
                  org.apache.hadoop.hdfs.web.TestFSMainOperationsWebHdfs

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//console

This message is automatically generated.
                
> webhdfs liststatus json response is not correct
> -----------------------------------------------
>
>                 Key: HDFS-2404
>                 URL: https://issues.apache.org/jira/browse/HDFS-2404
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Arpit Gupta
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2404.20.txt, HDFS-2404.txt, HDFS-2404.txt
>
>


--
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