dtm.HBaseTxClient throws NullException

Bug #1384939 reported by Matt Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Medium
Shang-Sheng Tung

Bug Description

See the following on both single node and multi-node platforms in the monitor log. Appears after "sqstart" is executed

0/22/2014-23:17:58.720.056: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: Exception in thread "Thread-6" 10/22/2014-23:17:58.720.463: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: java.lang.NullPointerException
10/22/2014-23:17:58.720.629: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: at org.trafodion.dtm.HBaseTxClient$RecoveryThread.run(HBaseTxClient.java:638)

Tags: dtm
Changed in trafodion:
assignee: nobody → Shang-Sheng Tung (shang-sheng-tung)
milestone: r0.9 → r1.0
Revision history for this message
Oliver Bucaojit (oliver-bucaojit) wrote :

When there is no object returned by zookeeper.checkForRecovery(), we will see this nullPointerException error.

A simple fix can be to do an 'if (regions != null) { // print message};'

Revision history for this message
Shang-Sheng Tung (shang-sheng-tung) wrote : RE: [Bug 1384939] Re: dtm.HBaseTxClient throws NullException

Good catch!

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Bucaojit, Oliver
Sent: Wednesday, November 05, 2014 2:45 PM
To: Tung, Shang-Shen
Subject: [Bug 1384939] Re: dtm.HBaseTxClient throws NullException

When there is no object returned by zookeeper.checkForRecovery(), we will see this nullPointerException error.

A simple fix can be to do an 'if (regions != null) { // print message};'

--
You received this bug notification because you are a bug assignee.
https://bugs.launchpad.net/bugs/1384939

Title:
  dtm.HBaseTxClient throws NullException

Status in Trafodion:
  New

Bug description:
  See the following on both single node and multi-node platforms in the
  monitor log. Appears after "sqstart" is executed

  0/22/2014-23:17:58.720.056: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: Exception in thread "Thread-6" 10/22/2014-23:17:58.720.463: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: java.lang.NullPointerException
  10/22/2014-23:17:58.720.629: (name=monitor/pid=2520/tid=2521) (cmp=1/ev=101130801/fac=320/sev=6): STDERR redirected from n005.$TM0.0.2553: at org.trafodion.dtm.HBaseTxClient$RecoveryThread.run(HBaseTxClient.java:638)

To manage notifications about this bug go to:
https://bugs.launchpad.net/trafodion/+bug/1384939/+subscriptions

Revision history for this message
Shang-Sheng Tung (shang-sheng-tung) wrote :

The fix has been merged into mainline.

Changed in trafodion:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.