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

Starting HDFS with blank configuration fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • namenode
    • None

    Description

      Build a tar.gz distribution from hadoop trunk (on mac os x)
      Untar, blank *-site.xml configuration files are present in etc/conf
      'bin/hadoop namenode -format' : succeds with ...12/02/17 11:53:32 INFO namenode.FSImage: Saving image file /tmp/hadoop-echarles/dfs/name/current/fsimage.ckpt_0000000000000000000 using no compression...
      'sbin/start-dfs.sh' fails with Exception in thread "main" java.lang.IllegalArgumentException: Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.

      Is this what we want (is this the expected behavior) ?

      If it formats with the blank configuration, I would rather expect that is also starts.
      The other way around is fail early on format with an message stating the missing configuration.

      If behavior can be defined here, I will try to produce a patch for it.
      Thx, Eric

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eric@apache.org Eric Charles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: