HI, when i am reading hbase information using Broadcast , i see the following exception
Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readSerializable(OptimizedObjectInputStream.java:572) ... 149 more Caused by: java.lang.NullPointerException at java.security.CodeSource.readObject(CodeSource.java:587) ... 154 more Could you please let me know root cause of the exception ? I know, the above exception stack trace is not clear, i can share the code if required. Thanks, Anil On 11 October 2016 at 20:49, Anil <[email protected]> wrote: > Thank you Vladislav and Andrey. I will look at the document and give a > try. > > Thanks again. > > On 11 October 2016 at 20:47, Andrey Gura <[email protected]> wrote: > >> Hi, >> >> HBase regions doesn't map to Ignite nodes due to architectural >> differences. Each HBase region contains rows in some range of keys that >> sorted lexicographically while distribution of keys in Ignite depends on >> affinity function and key hash code. Also how do you remap region to nodes >> in case of region was splitted? >> >> Of course you can get node ID in cluster for given key but because HBase >> keeps rows sorted by keys lexicographically you should perform full scan in >> HBase table. So the simplest way for parallelization data loading from >> HBase to Ignite it concurrently scan regions and stream all rows to one or >> more DataStreamer. >> >> >> On Tue, Oct 11, 2016 at 4:11 PM, Anil <[email protected]> wrote: >> >>> HI, >>> >>> we have around 18 M records in hbase which needs to be loaded into >>> ignite cluster. >>> >>> i was looking at >>> >>> http://apacheignite.gridgain.org/v1.7/docs/data-loading >>> >>> https://github.com/apache/ignite/tree/master/examples >>> >>> is there any approach where each ignite node loads the data of one hbase >>> region ? >>> >>> Do you have any recommendations ? >>> >>> Thanks. >>> >> >> >
