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

In local mode BSPJobClient.close throws java.lang.IllegalArgumentException: not a proxy instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6.3
    • 0.7.0
    • bsp core
    • None

    Description

      BSPJobClient.close does not check for local mode before calling RPC.stopProxy. (in local mode there is no proxy instance)
      See HAMA-811.

      Exception in thread "main" java.lang.IllegalArgumentException: not a proxy instance
      	at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:767)
      	at org.apache.hama.ipc.RPC.stopProxy(RPC.java:476)
      	at org.apache.hama.bsp.BSPJobClient.close(BSPJobClient.java:245)
      	at org.apache.hama.bsp.BSPJobClient.runJob(BSPJobClient.java:771)
      	at org.apache.hama.pipes.Submitter.runJob(Submitter.java:222)
      	at org.apache.hama.pipes.Submitter.run(Submitter.java:538)
      	at org.apache.hama.pipes.Submitter.main(Submitter.java:552)
      

      Attachments

        1. HAMA-812.patch
          0.6 kB
          Martin Illecker

        Issue Links

          Activity

            People

              bafu Martin Illecker
              bafu Martin Illecker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: