[ 
https://issues.apache.org/jira/browse/HDFS-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010889#comment-13010889
 ] 

Jitendra Nath Pandey commented on HDFS-1734:
--------------------------------------------

Correct, I missed that genstamp was being added as hidden input.

A few more comments:
 1. Please use junit4 for test. You don't have to extend from TestCase.
 2. testGenerateFileDetailsShouldPrintTheGetstampInJSPWriter is too long a 
name. A shorter name like testGenStamp might suffice.
 3. The patch has ^M at the end of every line, probably because the file was 
generated on a windows box. Can you clean that up?
 4. > FileSystem fs = FileSystem.get(CONF);
     I will recommend using fs = cluster.getFileSystem().


> 'Chunk size to view' option is not working in Name Node UI.
> -----------------------------------------------------------
>
>                 Key: HDFS-1734
>                 URL: https://issues.apache.org/jira/browse/HDFS-1734
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>         Attachments: ChunkSizeToView.jpg, HDFS-1734.patch
>
>
>   1. Write a file to DFS
>   2. Browse the file using Name Node UI.
>   3. give the chunk size to view as 100 and click the refresh.
>   It will say Invalid input ( getnstamp absent )

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

Reply via email to