Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-931

Make the HAMA base path configurable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: yarn
    • Labels:
      None

      Description

      I just noticed that the pathes of HAMA_HOME and dependencies are hard-coded and not configurable. Please make this configurable.

      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: Got Cluster node info from ASM
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: Got node report from ASM for, nodeId=localhost:57768, nodeAddresslocalhost:8042, nodeRackName/default-rack, nodeNumContainers0
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: Queue info, queueName=default, queueCurrentCapacity=0.0, queueMaxCapacity=1.0, queueApplicationCount=0, queueChildQueueCount=0
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: User ACL Info for Queue, queueName=root, userAcl=SUBMIT_APPLICATIONS
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: User ACL Info for Queue, queueName=root, userAcl=ADMINISTER_QUEUE
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: User ACL Info for Queue, queueName=default, userAcl=SUBMIT_APPLICATIONS
      15/03/06 11:23:04 INFO bsp.YARNBSPJobClient: User ACL Info for Queue, queueName=default, userAcl=ADMINISTER_QUEUE
      Exception in thread "main" java.io.FileNotFoundException: File /home/hadoop/hama-0.6.4.tar.gz does not exist
       at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:534)
       at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:747)
       at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:524)
       at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:409)
       at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
       at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1905)
       at org.apache.hama.bsp.YARNBSPJobClient.launchJob(YARNBSPJobClient.java:239)
       at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:395)
       at org.apache.hama.bsp.YARNBSPJob.submit(YARNBSPJob.java:74)
       at org.apache.hama.bsp.YARNBSPJob.waitForCompletion(YARNBSPJob.java:90)
       at org.apache.hama.bsp.YarnSerializePrinting.main(YarnSerializePrinting.java:74)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)
       at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
       at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      

        Attachments

        1. HAMA-931_v01.patch
          3 kB
          Minho Kim
        2. HAMA-931_v03.patch
          22 kB
          Edward J. Yoon
        3. HAMA-931.patch
          19 kB
          Minho Kim
        4. HAMA-931v02.patch
          19 kB
          Minho Kim

          Activity

            People

            • Assignee:
              conquestor Minho Kim
              Reporter:
              udanax Edward J. Yoon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: