Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5961

DataNode should understand generic hadoop options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Reviewed
    • hdfs datanode

    Description

      DataNode should use ToolRunner to parse generic hadoop options (like -Dconfig.var=value). Apart from being more consistent with rest of the hadoop programs, this is necessary to write a simple script to run multiple datanodes on the same node.

      I had proposed a simple shell script to running multiple datanodes on a the user mailing list http://www.nabble.com/Contributing-to-hadoop-td22198897.html, but it requires that DataNode parses -D option.

      I will submit a patch and a shell script that works.

      Attachments

        1. run-datanode.sh
          0.8 kB
          Raghu Angadi
        2. run-datanode.sh
          0.8 kB
          Raghu Angadi
        3. HADOOP-5961.patch
          1 kB
          Raghu Angadi
        4. HADOOP-5961.patch
          1 kB
          Raghu Angadi

        Issue Links

          Activity

            People

              rangadi Raghu Angadi
              rangadi Raghu Angadi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: