Issue Details (XML | Word | Printable)

Key: HADOOP-4613
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Johan Oskarsson
Reporter: Konstantin Shvachko
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

browseBlock.jsp does not generate "genstamp" property.

Created: 07/Nov/08 08:28 AM   Updated: 08/Jul/09 04:43 PM
Return to search
Component/s: None
Affects Version/s: 0.18.0
Fix Version/s: 0.18.3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-4613.patch 2008-11-25 04:16 PM Johan Oskarsson 0.7 kB

Hadoop Flags: Reviewed
Resolution Date: 10/Dec/08 05:21 PM


 Description  « Hide
A link to a block replica display page on the web UI breaks with the following message: "Invalid input (genstamp absent)".
The reason is that browsBlock.jsp sets "genstamp=" in the code two times out of three.
One spot in line #148 was missed by HADOOP-2656.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Johan Oskarsson added a comment - 25/Nov/08 04:16 PM
Is this what you had in mind Konstantin? One line, adds:
"&genstamp=" + cur.getBlock().getGenerationStamp() +

Tsz Wo (Nicholas), SZE added a comment - 05/Dec/08 02:15 AM
Konstantin, could you take a look at the patch?

Konstantin Shvachko added a comment - 06/Dec/08 03:06 AM
+1 this would work.
Making it patch available.

Hadoop QA added a comment - 10/Dec/08 06:34 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12394658/HADOOP-4613.patch
against trunk revision 724931.

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

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+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 warnings.

+1 Eclipse classpath. The patch retains Eclipse classpath integrity.

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3698/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3698/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3698/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3698/console

This message is automatically generated.


Konstantin Shvachko added a comment - 10/Dec/08 05:21 PM
I just committed this. Thank you Johan.

Hudson added a comment - 11/Dec/08 02:19 PM
Integrated in Hadoop-trunk #685 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/685/)
. Fix block browsing on Web UI. Contributed by Johan Oskarsson.