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

SSSP doesn't works with multi-tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • examples
    • None

    Description

      root@Cnode1:/usr/local/src/hama-trunk# core/bin/hama jar examples/target/hama-examples-0.4.0-incubating-SNAPSHOT.jar sssp Klewno xx /user/root/edward/sssp-adjacencylist.txt
      Single Source Shortest Path Example:
      <Startvertex name> <optional: output path> <optional: path to own adjacency list textfile!>
      Setting default start vertex to "Frankfurt"!
      Setting start vertex to Klewno!
      Using new output folder: xx
      11/09/26 09:46:24 INFO graph.ShortestPaths: Starting data partitioning...
      11/09/26 09:47:12 INFO graph.ShortestPaths: Finished!
      11/09/26 09:47:12 INFO bsp.BSPJobClient: Running job: job_201109260929_0004
      11/09/26 09:47:15 INFO bsp.BSPJobClient: Current supersteps number: 0
      11/09/26 09:47:21 INFO bsp.BSPJobClient: Current supersteps number: 1
      11/09/26 09:47:33 INFO bsp.BSPJobClient: The total number of supersteps: 1
      Job Finished in 21.553 seconds
      -------------------- RESULTS --------------------
      java.lang.NullPointerException
              at org.apache.hama.examples.graph.ShortestPathsBase.printOutput(ShortestPathsBase.java:93)
              at org.apache.hama.examples.graph.ShortestPaths.main(ShortestPaths.java:239)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
              at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
              at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:37)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hama.util.RunJar.main(RunJar.java:145)
      

      Attachments

        1. test2.patch
          6 kB
          Edward J. Yoon
        2. test.patch
          5 kB
          Edward J. Yoon
        3. refactor.patch
          6 kB
          Edward J. Yoon
        4. patch.txt
          75 kB
          Thomas Jungblut
        5. mapToList.patch
          6 kB
          Edward J. Yoon
        6. HAMA-443.patch
          39 kB
          Thomas Jungblut
        7. HAMA-443_v5.patch
          60 kB
          Edward J. Yoon
        8. HAMA-443_v4.patch
          60 kB
          Edward J. Yoon
        9. HAMA-443_v3.patch
          58 kB
          Thomas Jungblut
        10. HAMA-443_v2.patch
          50 kB
          Thomas Jungblut
        11. HAMA-443_1.patch
          40 kB
          Thomas Jungblut

        Issue Links

          Activity

            People

              udanax Edward J. Yoon
              udanax Edward J. Yoon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: