[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2134 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2134/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #185 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/185/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #175 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/175/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

SUCCESS: Integrated in Hadoop-Hdfs-trunk #2116 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2116/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

SUCCESS: Integrated in Hadoop-Yarn-trunk #918 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/918/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-05 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #184 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/184/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-04 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8290:
--

FAILURE: Integrated in Hadoop-trunk-Commit #7724 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/7724/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-01 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-8290:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  14m 32s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 33s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 35s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 23s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   2m 13s | There were no new checkstyle 
issues. |
| {color:red}-1{color} | whitespace |   0m  0s | The patch has 1  line(s) that 
end in whitespace. Use git apply --whitespace=fix. |
| {color:green}+1{color} | install |   1m 32s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   3m  2s | The patch does not introduce 
any new Findbugs (version 2.0.3) warnings. |
| {color:green}+1{color} | native |   3m 14s | Pre-build of native portion |
| {color:green}+1{color} | hdfs tests | 164m 16s | Tests passed in hadoop-hdfs. 
|
| | | 206m 59s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12729317/HDFS-8290.001.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 3393461 |
| whitespace | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10510/artifact/patchprocess/whitespace.txt
 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10510/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10510/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf907.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10510/console |


This message was automatically generated.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-05-01 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-8290:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  15m  3s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 43s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 51s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 22s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   1m 26s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  1s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 36s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 32s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   3m  7s | The patch does not introduce 
any new Findbugs (version 2.0.3) warnings. |
| {color:green}+1{color} | native |   3m 17s | Pre-build of native portion |
| {color:red}-1{color} | hdfs tests | 165m  7s | Tests failed in hadoop-hdfs. |
| | | 208m  9s | |
\\
\\
|| Reason || Tests ||
| Timed out tests | 
org.apache.hadoop.hdfs.TestParallelShortCircuitLegacyReadTests |
|   | org.apache.hadoop.hdfs.TestDFSConfiTests |
|   | org.apache.hadoop.hdfs.server.namenTests |
|   | org.apache.hadoop.hdfs.server.namenode.TestTransferFsImageTests |
|   | org.aTests |
|   | org.apache.hadoop.hdfs.server.namenode.ha.TestXAttrsWithTests |
|   | org.apache.hadoop.hdfs.server.namenode.TestNNStorageRetentionFuncTests |
|   | org.apache.hadoop.hdfs.server.blockmanagement.TestOTests |
|   | org.apache.hadTests |
|   | org.apache.hadoop.hdfs.server.datanode.TestDatTests |
|   | org.apache.hadoop.hdfs.util.TestBTests |
|   | org.apache.hadoop.hdfs.security.TestClientProtocolWithDelegaTests |
|   | org.apache.hadoop.hdfs.protocol.datatransfer.TestPacketReceiveTests |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12729317/HDFS-8290.001.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 98a6176 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10500/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10500/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10500/console |


This message was automatically generated.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-04-30 Thread Chris Nauroth (JIRA)

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

Chris Nauroth commented on HDFS-8290:
-

The test failures and findbugs warning have been fixed in HDFS-8300, so I 
submitted a fresh Jenkins run for this patch.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-04-29 Thread Chris Nauroth (JIRA)

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

Chris Nauroth commented on HDFS-8290:
-

The Findbugs warning is in an unrelated part of the codebase.  It's possible 
that both the Findbugs warning and the test failures were introduced by 
HDFS-8283.  I'm waiting for confirmation before I commit this.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-04-29 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-8290:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  14m 35s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | javac |   7m 27s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 43s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 22s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   7m  9s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | install |   1m 32s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:red}-1{color} | findbugs |   3m  7s | The patch appears to introduce 1 
new Findbugs (version 2.0.3) warnings. |
| {color:green}+1{color} | native |   3m 12s | Pre-build of native portion |
| {color:red}-1{color} | hdfs tests | 225m 52s | Tests failed in hadoop-hdfs. |
| | | 273m 37s | |
\\
\\
|| Reason || Tests ||
| FindBugs | module:hadoop-hdfs |
|  |  Class org.apache.hadoop.hdfs.DataStreamer$LastException is not derived 
from an Exception, even though it is named as such  At DataStreamer.java:from 
an Exception, even though it is named as such  At DataStreamer.java:[lines 
177-201] |
| Failed unit tests | hadoop.hdfs.server.namenode.TestDeleteRace |
|   | hadoop.hdfs.TestDFSOutputStream |
|   | hadoop.hdfs.server.datanode.fsdataset.impl.TestRbwSpaceReservation |
|   | hadoop.cli.TestHDFSCLI |
|   | hadoop.hdfs.TestClose |
|   | hadoop.hdfs.TestMultiThreadedHflush |
|   | hadoop.hdfs.TestQuota |
|   | hadoop.hdfs.TestCrcCorruption |
|   | hadoop.hdfs.TestFileLengthOnClusterRestart |
|   | hadoop.hdfs.server.datanode.TestBlockRecovery |
|   | hadoop.hdfs.TestDFSClientRetries |
| Timed out tests | 
org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer |
|   | org.apache.hadoop.hdfs.server.namenode.TestNamenodeRetryCache |
|   | org.apache.hadoop.hdfs.TestClientProtocolForPipelineRecovery |
|   | org.apache.hadoop.hdfs.TestDataTransferProtocol |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12729317/HDFS-8290.001.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 4c1af15 |
| Findbugs warnings | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10455/artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10455/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10455/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10455/console |


This message was automatically generated.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.

2015-04-29 Thread Jakob Homan (JIRA)

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

Jakob Homan commented on HDFS-8290:
---

+1.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> --
>
> Key: HDFS-8290
> URL: https://issues.apache.org/jira/browse/HDFS-8290
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: webhdfs
>Affects Versions: 2.6.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Minor
> Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been 
> initialized, but the namesystem has not been initialized.  During this 
> window, a WebHDFS call can cause a {{NullPointerException}}.  We can catch 
> this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)