Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2466

Need a public way to check DFS Safemode status

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 0.23.0
    • None
    • hdfs-client
    • None

    Description

      The current way for a DFS client to check or set safemode status is via the private DistributedFileSystem instances.

      While user/downstream (HBASE, PIG, HIVE) clients do not really need a way to "set" the safemode (doable by shell functions today), they can surely benefit from having a public API to check for safemode. Right now there is no way to do so.

      I plan to introduce a safemode check via a new public, evolving API "HDFSAdmin" (DFSAdmin already seems taken up by shell).

      (Part of HBASE-4510 can benefit from this, for example)

      Attachments

        Issue Links

          Activity

            People

              qwertymaniac Harsh J
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: