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

DataNode should understand generic hadoop options

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      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. HADOOP-5961.patch
          1 kB
          Raghu Angadi
        3. run-datanode.sh
          0.8 kB
          Raghu Angadi
        4. HADOOP-5961.patch
          1 kB
          Raghu Angadi

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: