You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2010/10/01 04:24:32 UTC

[jira] Created: (HAMA-292) NullPointerException in the process of invoking BSP class

NullPointerException in the process of invoking BSP class
---------------------------------------------------------

                 Key: HAMA-292
                 URL: https://issues.apache.org/jira/browse/HAMA-292
             Project: Hama
          Issue Type: Bug
          Components: bsp
    Affects Versions: 0.2.0
            Reporter: Edward J. Yoon
             Fix For: 0.2.0


{code}
2010-10-01 11:11:11,546 INFO org.apache.zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:57904 remote=localhost/127.0.0.1:21810]
2010-10-01 11:11:11,552 INFO org.apache.zookeeper.ClientCnxn: Server connection successful
2010-10-01 11:11:11,651 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 0 and 0 actions
2010-10-01 11:11:14,658 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 1 and 0 actions
2010-10-01 11:11:17,659 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 2 and 0 actions
2010-10-01 11:11:20,676 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 3 and 1 actions
2010-10-01 11:11:21,266 ERROR org.apache.hama.bsp.BSP: java.lang.NullPointerException
{code}

I ran it using a local, recieved NullPointerException. my configurations are as below:

{code}
<configuration>
  <property>
    <name>bsp.master.address</name>
    <value>test.server.org:40000</value>
    <description></description>
  </property>

<property>
  <name>fs.default.name</name>
  <value>hdfs://test.server.org:9000/</value>
  <description></description>
</property>


<property>
    <name>hama.zookeeper.quorum</name>
    <value>localhost</value>
    <description>Comma separated list of servers in the ZooKeeper Quorum.
    For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
    By default this is set to localhost for local and pseudo-distributed modes
    of operation. For a fully-distributed setup, this should be set to a full
    list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
    this is the list of servers which we will start/stop ZooKeeper on.
    </description>
  </property>

</configuration>
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HAMA-292) NullPointerException in the process of invoking BSP class

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon reassigned HAMA-292:
-----------------------------------

    Assignee: Edward J. Yoon

> NullPointerException in the process of invoking BSP class
> ---------------------------------------------------------
>
>                 Key: HAMA-292
>                 URL: https://issues.apache.org/jira/browse/HAMA-292
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>
> {code}
> 2010-10-01 11:11:11,546 INFO org.apache.zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:57904 remote=localhost/127.0.0.1:21810]
> 2010-10-01 11:11:11,552 INFO org.apache.zookeeper.ClientCnxn: Server connection successful
> 2010-10-01 11:11:11,651 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 0 and 0 actions
> 2010-10-01 11:11:14,658 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 1 and 0 actions
> 2010-10-01 11:11:17,659 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 2 and 0 actions
> 2010-10-01 11:11:20,676 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 3 and 1 actions
> 2010-10-01 11:11:21,266 ERROR org.apache.hama.bsp.BSP: java.lang.NullPointerException
> {code}
> I ran it using a local, recieved NullPointerException. my configurations are as below:
> {code}
> <configuration>
>   <property>
>     <name>bsp.master.address</name>
>     <value>test.server.org:40000</value>
>     <description></description>
>   </property>
> <property>
>   <name>fs.default.name</name>
>   <value>hdfs://test.server.org:9000/</value>
>   <description></description>
> </property>
> <property>
>     <name>hama.zookeeper.quorum</name>
>     <value>localhost</value>
>     <description>Comma separated list of servers in the ZooKeeper Quorum.
>     For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
>     By default this is set to localhost for local and pseudo-distributed modes
>     of operation. For a fully-distributed setup, this should be set to a full
>     list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
>     this is the list of servers which we will start/stop ZooKeeper on.
>     </description>
>   </property>
> </configuration>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HAMA-292) NullPointerException in the process of invoking BSP class

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-292:
--------------------------------

    Attachment: HAMA-292

The cause was the hard-coded hostname.

Patching few comments about Task failed.

> NullPointerException in the process of invoking BSP class
> ---------------------------------------------------------
>
>                 Key: HAMA-292
>                 URL: https://issues.apache.org/jira/browse/HAMA-292
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-292
>
>
> {code}
> 2010-10-01 11:11:11,546 INFO org.apache.zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:57904 remote=localhost/127.0.0.1:21810]
> 2010-10-01 11:11:11,552 INFO org.apache.zookeeper.ClientCnxn: Server connection successful
> 2010-10-01 11:11:11,651 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 0 and 0 actions
> 2010-10-01 11:11:14,658 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 1 and 0 actions
> 2010-10-01 11:11:17,659 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 2 and 0 actions
> 2010-10-01 11:11:20,676 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 3 and 1 actions
> 2010-10-01 11:11:21,266 ERROR org.apache.hama.bsp.BSP: java.lang.NullPointerException
> {code}
> I ran it using a local, recieved NullPointerException. my configurations are as below:
> {code}
> <configuration>
>   <property>
>     <name>bsp.master.address</name>
>     <value>test.server.org:40000</value>
>     <description></description>
>   </property>
> <property>
>   <name>fs.default.name</name>
>   <value>hdfs://test.server.org:9000/</value>
>   <description></description>
> </property>
> <property>
>     <name>hama.zookeeper.quorum</name>
>     <value>localhost</value>
>     <description>Comma separated list of servers in the ZooKeeper Quorum.
>     For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
>     By default this is set to localhost for local and pseudo-distributed modes
>     of operation. For a fully-distributed setup, this should be set to a full
>     list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
>     this is the list of servers which we will start/stop ZooKeeper on.
>     </description>
>   </property>
> </configuration>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HAMA-292) NullPointerException in the process of invoking BSP class

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-292.
---------------------------------

    Resolution: Fixed

I'm resolving this issue now.

> NullPointerException in the process of invoking BSP class
> ---------------------------------------------------------
>
>                 Key: HAMA-292
>                 URL: https://issues.apache.org/jira/browse/HAMA-292
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-292
>
>
> {code}
> 2010-10-01 11:11:11,546 INFO org.apache.zookeeper.ClientCnxn: Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:57904 remote=localhost/127.0.0.1:21810]
> 2010-10-01 11:11:11,552 INFO org.apache.zookeeper.ClientCnxn: Server connection successful
> 2010-10-01 11:11:11,651 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 0 and 0 actions
> 2010-10-01 11:11:14,658 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 1 and 0 actions
> 2010-10-01 11:11:17,659 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 2 and 0 actions
> 2010-10-01 11:11:20,676 INFO org.apache.hama.bsp.GroomServer: Got heartbeatResponse from BSPMaster with responseId: 3 and 1 actions
> 2010-10-01 11:11:21,266 ERROR org.apache.hama.bsp.BSP: java.lang.NullPointerException
> {code}
> I ran it using a local, recieved NullPointerException. my configurations are as below:
> {code}
> <configuration>
>   <property>
>     <name>bsp.master.address</name>
>     <value>test.server.org:40000</value>
>     <description></description>
>   </property>
> <property>
>   <name>fs.default.name</name>
>   <value>hdfs://test.server.org:9000/</value>
>   <description></description>
> </property>
> <property>
>     <name>hama.zookeeper.quorum</name>
>     <value>localhost</value>
>     <description>Comma separated list of servers in the ZooKeeper Quorum.
>     For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
>     By default this is set to localhost for local and pseudo-distributed modes
>     of operation. For a fully-distributed setup, this should be set to a full
>     list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
>     this is the list of servers which we will start/stop ZooKeeper on.
>     </description>
>   </property>
> </configuration>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.