Hadoop Common
  1. Hadoop Common
  2. HADOOP-5839

fixes to ec2 scripts to allow remote job submission

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: contrib/cloud
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      i would very much like the option of submitting jobs from a workstation outside ec2 to a hadoop cluster in ec2. This has been explored here:

      http://www.nabble.com/public-IP-for-datanode-on-EC2-tt19336240.html

      the net result of this is that we can make this work (along with using a socks proxy) with a couple of changes in the ec2 scripts:
      a) use public 'hostname' for fs.default.name setting (instead of the private hostname being used currently)
      b) mark hadoop.rpc.socket.factory.class.default as final variable in the generated hadoop-site.xml (that applies to server side)

      #a has no downside as far as i can tell since public hostnames resolve to internal/private IP addresses within ec2 (so traffic is optimally routed).

      1. hadoop-5839.2.patch
        2 kB
        Joydeep Sen Sarma
      2. 5839.1.patch
        2 kB
        Joydeep Sen Sarma

        Issue Links

          Activity

          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12408218/5839.1.patch
          against trunk revision 776148.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no tests are needed for this patch.

          -1 patch. The patch command could not apply the patch.

          Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/354/console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12408218/5839.1.patch against trunk revision 776148. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no tests are needed for this patch. -1 patch. The patch command could not apply the patch. Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/354/console This message is automatically generated.
          Hide
          Joydeep Sen Sarma added a comment -

          retry with diff from root. can someone review this?

          Show
          Joydeep Sen Sarma added a comment - retry with diff from root. can someone review this?
          Hide
          Tom White added a comment -

          +1

          I've just committed this. Thanks Joydeep!

          Show
          Tom White added a comment - +1 I've just committed this. Thanks Joydeep!

            People

            • Assignee:
              Joydeep Sen Sarma
              Reporter:
              Joydeep Sen Sarma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development