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 "Bikas Saha (JIRA)" <ji...@apache.org> on 2012/06/08 23:33:24 UTC
[jira] [Created] (HDFS-3518) Provide API to check HDFS operational
state
Bikas Saha created HDFS-3518:
--------------------------------
Summary: Provide API to check HDFS operational state
Key: HDFS-3518
URL: https://issues.apache.org/jira/browse/HDFS-3518
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Bikas Saha
This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292137#comment-13292137 ]
Bikas Saha commented on HDFS-3518:
----------------------------------
@suresh - Yes
@atm - Sorry. I thought my title would be sufficient :) Suresh's comment clarifies what I missed.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403342#comment-13403342 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
Sounds good, Nicholas. Thanks a lot for hearing me out.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293192#comment-13293192 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
bq. I think this is different from HDFS-2413. Not in SafeMode is necessary condition but not a sufficient condition of being operational. For example, if a namenode is standby but not in safemode, it is not operational. How about add a new method, say isHealth(URI), as a public API?
Seems like the solution to that problem, then, is just to fix HDFS-3507, which would make DFS#isInSafeMode perform client failover.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296008#comment-13296008 ]
Hudson commented on HDFS-3518:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #2362 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2362/])
HDFS-3518. Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy. (Revision 1350825)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1350825
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/DistributedFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/HdfsUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402795#comment-13402795 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
The b-1.0 patch also applies to branch-1. Will commit it.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292151#comment-13292151 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
@Bikas - my question was more along the lines of what "operational state" you're looking for here. Is the NN up? Is the NN in safe mode? Is the NN "Active" in the HA sense? Something else?
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Attachment: h3518_20120615.patch
h3518_20120615.patch:
- uses HdfsConstants.HDFS_URI_SCHEME in HdfsUtils and also in DistributedFileSystem.getScheme();
- uses HdfsUtils.class for HdfsUtils.LOG;
- fixes the line with > 80 character.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296145#comment-13296145 ]
Hudson commented on HDFS-3518:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1111 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1111/])
HDFS-3518. Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy. (Revision 1350825)
Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1350825
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/DistributedFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/HdfsUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292017#comment-13292017 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
Hey Bikas, can you please elaborate a little bit on what you'd like to see out of this API?
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Bikas Saha
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1-alpha
Release Note: Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy.
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks Suresh for the review.
All changes are minor so that I did not wait for Jenkins.
I have committed this.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396151#comment-13396151 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
bq. This is not an admin method. Any user could have an application using it.
I agree it's not an "admin method" in the sense that it doesn't require super-user privileges, but it does seem like an "administrative" utility to me in the sense that it's not something that typical clients need to call, but rather only those clients that are concerned with programmatically administering HDFS. In the class comment in HdfsAdmin, there's no mention of super user privileges:
{noformat}
* The public API for performing administrative functions on HDFS. Those writing
* applications against HDFS should prefer this interface to directly accessing
* functionality in DistributedFileSystem or DFSClient.
{noformat}
Given all this, I do think "isHealthy" makes more sense in HdfsAdmin than in the new "HdfsUtils" class. Thoughts? I don't mind opening a separate JIRA to discuss this, if you'd prefer.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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] [Closed] (HDFS-3518) Provide API to check HDFS operational
state
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy closed HDFS-3518.
-------------------------------
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.2-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615_b-1.0.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294081#comment-13294081 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
BTW, the failure of TestFileLengthOnClusterRestart is not related to this.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293527#comment-13293527 ]
Hadoop QA commented on HDFS-3518:
---------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12531778/h3518_20120611.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+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 in hadoop-hdfs-project/hadoop-hdfs:
org.apache.hadoop.hdfs.TestFileLengthOnClusterRestart
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2642//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2642//console
This message is automatically generated.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402793#comment-13402793 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
Aaron, you have a good point. Let me think about it more and do the move in HDFS-3184 if necessary.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294080#comment-13294080 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
> Perhaps this method could reasonably be added to o.a.h.hdfs.client.HdfsAdmin?
This is not an admin method. Any user could have an application using it.
> ... We might want to wait for resolution of that issue before we introduce this new API that we know won't work as intended.
It will work for non-HA setup. So, we should not wait for HDFS-3507. If there is a bug in HA, it should not stop other development.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293221#comment-13293221 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
Hi Aaron, you are right that HDFS-3507 and this is closely related. I will think about if we still need the isHealth(URI) API.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296031#comment-13296031 ]
Hudson commented on HDFS-3518:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2381 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2381/])
HDFS-3518. Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy. (Revision 1350825)
Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1350825
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/DistributedFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/HdfsUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292035#comment-13292035 ]
Suresh Srinivas commented on HDFS-3518:
---------------------------------------
@Bikas, I have not spent a lot of time on MAPREDUCE-4328. What you want is a mechanism to see the service state of Namenode, so JT can go into safe mode?
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Bikas Saha
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Status: Patch Available (was: Open)
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "taojie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
taojie updated HDFS-3518:
-------------------------
Description: This will improve the usability of JobTracker safe mode.得到的 (was: This will improve the usability of JobTracker safe mode.)
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.2-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615_b-1.0.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.得到的
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3518) Provide API to check HDFS
operational state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296000#comment-13296000 ]
Hudson commented on HDFS-3518:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2434 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2434/])
HDFS-3518. Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy. (Revision 1350825)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1350825
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/DistributedFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/HdfsUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296134#comment-13296134 ]
Hudson commented on HDFS-3518:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1078 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1078/])
HDFS-3518. Add a utility method HdfsUtils.isHealthy(uri) for checking if the given HDFS is healthy. (Revision 1350825)
Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1350825
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/DistributedFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/client/HdfsUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientRetries.java
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292594#comment-13292594 ]
Bikas Saha commented on HDFS-3518:
----------------------------------
Seems like the most useful information we can get would be if the NN is in safe mode or not because the JT can then go into a conservative mode wrt task failures etc. because these would very likely be related to NN safe mode. HDFS-2413 seems to fit the bill but its committed to the 2.0 line.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295965#comment-13295965 ]
Suresh Srinivas commented on HDFS-3518:
---------------------------------------
Nicholas, +1 for the patch with following minor comments handled:
# Use HDFS_URI_SCHEME instead of hardcoding "hdfs"
# Some lines are > 80 chars
# HdfsUtils is using in FileSystem.class in LOG
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Component/s: hdfs client
Assignee: Tsz Wo (Nicholas), SZE
We could add the new API to the org.apache.hadoop.hdfs.client package.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Fix Version/s: 1.1.0
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "taojie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
taojie updated HDFS-3518:
-------------------------
Description: This will improve the usability of JobTracker safe mode. (was: This will improve the usability of JobTracker safe mode.得到的)
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 1.1.0, 2.0.2-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615_b-1.0.patch, h3518_20120615.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Attachment: h3518_20120615_b-1.0.patch
h3518_20120615_b-1.0.patch: for branch 1.0; it requires HDFS-3504 and may not be committed.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 2.0.1-alpha
>
> Attachments: h3518_20120611.patch, h3518_20120615.patch, h3518_20120615_b-1.0.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292664#comment-13292664 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
bq. Seems like the most useful information we can get would be if the NN is in safe mode or not because the JT can then go into a conservative mode wrt task failures etc. because these would very likely be related to NN safe mode.
Got it. Makes sense. Perhaps then this JIRA should be "back-port HFDS-2413 to branch-1" ?
bq. HDFS-2413 seems to fit the bill but its committed to the 2.0 line.
I didn't realize that this JIRA was intended only to address an issue in the branch-1 line, though I should have realized that since the issue description mentions the JT. Mind setting the affects/targets versions?
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293045#comment-13293045 ]
Tsz Wo (Nicholas), SZE commented on HDFS-3518:
----------------------------------------------
I think this is different from HDFS-2413. Not in SafeMode is necessary condition but not a sufficient condition of being operational. For example, if a namenode is standby but not in safemode, it is not operational. How about add a new method, say isHealth(URI), as a public API?
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS operational
state
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3518:
-----------------------------------------
Attachment: h3518_20120611.patch
I still think that isHealthy and isInSafeMode are different:
- SafeMode is one of the conditions to determine healthy.
- isInSafeMode may throw exception but isHealthy won't. When there is an exception, isHealthy simply returns false.
- If retry is set in conf or in a cached DistributedFileSystem, isInSafeMode may retry for a long time. isHealthy disable cache and retry.
isHealthy is a high level utility method that makes use of isInSafeMode, which is a low level method, so that isHealthy could hide the details of handling cache, retry and exceptions.
h3518_20120611.patch: adds HdfsUtils.isHealthy(URI).
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294045#comment-13294045 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
Hey Nicholas, patch looks pretty good to me. Two comments:
# Perhaps this method could reasonably be added to o.a.h.hdfs.client.HdfsAdmin?
# This won't work in an HA setup at the moment since DistributedFileSystem#setSafeMode does not perform client failover, per HDFS-3507. Presumably a user writing against the isHealthy API would like it to return success without considering how many NNs are in play. We might want to wait for resolution of that issue before we introduce this new API that we know won't work as intended.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3518_20120611.patch
>
>
> This will improve the usability of JobTracker safe mode.
--
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-3518) Provide API to check HDFS
operational state
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293224#comment-13293224 ]
Aaron T. Myers commented on HDFS-3518:
--------------------------------------
bq. Hi Aaron, you are right that HDFS-3507 and this is closely related. I will think about if we still need the isHealth(URI) API.
Sounds good. Thanks, Nicholas.
> Provide API to check HDFS operational state
> -------------------------------------------
>
> Key: HDFS-3518
> URL: https://issues.apache.org/jira/browse/HDFS-3518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Reporter: Bikas Saha
> Assignee: Tsz Wo (Nicholas), SZE
>
> This will improve the usability of JobTracker safe mode.
--
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