My Oracle Support Banner

Cloudera OGG-15051 Java or JNI exception: hadoop.hbase.HTableDescriptor.addFamily (Doc ID 2340178.1)

Last updated on DECEMBER 18, 2017

Applies to:

Oracle GoldenGate Application Adapters - Version 12.1.2.1.0 and later
Information in this document applies to any platform.

Symptoms

Oracle GoldenGate Delivery
Version 12.2.0.1.160823 OGGCORE_OGGADP.12.2.0.1.0_PLATFORMS_170324.1532
Linux, x64, 64bit (optimized), Generic on Mar 24 2017 17:11:07

2017-10-12 05:01:44 INFO OGG-06511 Using following columns in default
map by name: ROW_ID, LAST_UPD, PAR_ROW_ID, BU_ID, NAME, CUST_STAT_CD,
INTEGRATION_ID, OU_NUM,
OU_TYPE_CD, PAR_OU_ID, PR_ADDR_ID, ACCNT_TYPE_CD, PROCESS_TIMESTAMP,
X_BILL_TYPE_BT, STAT_REASON_CD.

2017-10-12 05:01:44 INFO OGG-06510 Using the following key columns for
target table OSSTAGE.S_ORG_EXT: ROW_ID.

2017-10-12 05:01:59 INFO OGG-01021 Command received from GGSCI: STATS.
Oct 12, 2017 5:02:56 AM org.apache.hadoop.conf.Configuration
warnOnceIfDeprecated
INFO: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.HTableDescriptor.addFamily(Lorg/apache/hadoop/hbase/HC
olumnDescriptor;)Lorg/apache/hadoo
p/hbase/HTableDescriptor;
at
oracle.goldengate.handler.hbase.operations.HBase1TableWriter.createTable(HBase
1TableWriter.java:254)
at
oracle.goldengate.handler.hbase.operations.HBase1TableWriter.open(HBase1TableW
riter.java:96)
at
oracle.goldengate.handler.hbase.operations.HBase1Writer.getTableWriter(HBase1W
riter.java:167)
at
oracle.goldengate.handler.hbase.operations.HBase1Writer.put(HBase1Writer.java:
110)
at
oracle.goldengate.handler.hbase.operations.HBaseInsertDBOperation.processOp(HB
aseInsertDBOperation.java:78)
at
oracle.goldengate.handler.hbase.HBaseHandler.processOp(HBaseHandler.java:468)

at
oracle.goldengate.handler.hbase.HBaseHandler.transactionCommit(HBaseHandler.ja
va:411)
at
oracle.goldengate.datasource.DsEventManager$2.send(DsEventManager.java:422)
at
oracle.goldengate.datasource.DsEventManager$EventDispatcher.distributeEvent(Ds
EventManager.java:231)
at
oracle.goldengate.datasource.DsEventManager.fireTransactionCommit(DsEventManag
er.java:430)
at
oracle.goldengate.datasource.AbstractDataSource.fireTransactionCommit(Abstract
DataSource.java:506)
at
oracle.goldengate.datasource.UserExitDataSource.commitActiveTransaction(UserEx
itDataSource.java:1546)
at
oracle.goldengate.datasource.UserExitDataSource.commitTx(UserExitDataSource.ja
va:1469)

Source Context :
SourceModule : [gglib.ggdal.adapter.java]
SourceID :
[/scratch/aime/adestore/views/aime_den00jni/oggcore/OpenSys/src/gglib/ggdal/Ad
apter/Java/JavaAdapter.cpp]
SourceFunction : [HandleJavaException]
SourceLine : [160]
ThreadBacktrace : [20] elements
:
[/ora_client/ogg-bd/libgglog.so(CMessageContext::AddThreadContext()+0x26)
[0x7f0520160386]]
:
[/ora_client/ogg-bd/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*
, unsigned int, ...)+0x6a8) [0x7f05201533b8]]
:
[/ora_client/ogg-bd/libgglog.so(_MSG_ERR_JAVA_EXCEPTION(CSourceContext*, char
const*, CMessageFactory::MessageDisposition)+0x41) [0x7f05200d
5fa1]]
: [/ora_client/ogg-bd/libggjava.so(+0x303bf)
[0x7f05185ab3bf]]
:
[/ora_client/ogg-bd/libggjava.so(ggs::gglib::ggdal::CJavaRecordWriter::CommitT
ransaction(ggs::gglib::ggdal::CDALError&)+0x145) [0x7f05185acf
e5]]
:
[/ora_client/ogg-bd/replicat(ggs::gglib::ggdal::CDALRecordWriter::CommitTransa
ction(ggs::gglib::ggdal::CDALError&)+0x5d) [0x7a53ad]]
:
[/ora_client/ogg-bd/replicat(GenericImpl::CommitTransaction()+0x30)
[0x78ba30]]
:
[/ora_client/ogg-bd/replicat(odbc_commit_transaction()+0x16) [0x7862e6]]
:
[/ora_client/ogg-bd/replicat(Commit_and_Checkpoint(short, bool&)+0x189)
[0x6310e9]]
:
[/ora_client/ogg-bd/replicat(ClassicWorker::CommitAndCheckpoint(short)+0x11)
[0x5742a1]]
:
[/ora_client/ogg-bd/replicat(REP_end_transaction(short)+0x17) [0x631827]]
:
[/ora_client/ogg-bd/replicat(ggs::er::ReplicatContext::processReplicatLoop(ggs
::Heartbeat::MapGeneratorParams&)+0x2655) [0x5d1aa5]]
:
[/ora_client/ogg-bd/replicat(ggs::er::ReplicatContext::run(ggs::Heartbeat::Map
GeneratorParams&)+0x38) [0x5c3298]]
: [/ora_client/ogg-bd/replicat() [0x632b2b]]
:
[/ora_client/ogg-bd/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain(
)+0x66) [0x75e546]]
:
[/ora_client/ogg-bd/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs
::gglib::MultiThreading::Thread::ThreadArgs*)+0x147) [0x762917
]]
:
[/ora_client/ogg-bd/replicat(ggs::gglib::MultiThreading::MainThread::Run(int,
char**)+0x12d) [0x762f2d]]
: [/ora_client/ogg-bd/replicat(main+0x3b)
[0x6347bb]]
: [/lib64/libc.so.6(__libc_start_main+0xfd)
[0x390f41ed5d]]
: [/ora_client/ogg-bd/replicat() [0x5247d5]]

2017-10-12 05:02:56 ERROR OGG-15051 Java or JNI exception:
java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.HTableDescriptor.addFamily(Lorg/apache/hadoop/hbase/HC
olumnDescriptor;)Lorg/apache/hadoop/hbase/HTableDescriptor;.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.