Support Questions
Find answers, ask questions, and share your expertise

Failed to put HBase with PutHBaseJSON Nifi processor

Failed to put HBase with PutHBaseJSON Nifi processor

New Contributor

2021-02-20 11:52:17,342 ERROR [Timer-Driven Process Thread-6] org.apache.nifi.hbase.PutHBaseJSON PutHBaseJSON[id=be904634-0177-1000-4519-14005279f3c5] Failed to send StandardFlowFileRecord[uuid=10941068-eecc-4cee-b9de-0656cdba5f96,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1613816663973-3, container=default, section=3], offset=600469, length=1125],offset=901,name=0e4d0e12-a388-4113-be95-1b3bd9c76e05,size=224] to HBase due to java.lang.NullPointerException; routing to failure: java.lang.NullPointerException
java.lang.NullPointerException: null
at org.apache.nifi.hadoop.SecurityUtil.callWithUgi(SecurityUtil.java:154)
at org.apache.nifi.hbase.HBase_2_ClientService.put(HBase_2_ClientService.java:461)
at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.nifi.controller.service.StandardControllerServiceInvocationHandler.invoke(StandardControllerServiceInvocationHandler.java:254)
at org.apache.nifi.controller.service.StandardControllerServiceInvocationHandler.invoke(StandardControllerServiceInvocationHandler.java:105)
at com.sun.proxy.$Proxy131.put(Unknown Source)
at org.apache.nifi.hbase.AbstractPutHBase.onTrigger(AbstractPutHBase.java:222)
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1173)
at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)