Comments (9)
can‘t find table in drill console ,but find in tools.sh. just like the pictures describer
from indexr.
Hi AisTop,
Can you check the errors in drillbit.log?
If you want to check more details, set the log level of "io.indexr" to "info" in $DRILL_HOME/conf/logback.xml.
from indexr.
Hi flowbehappy ,thinks you answer very much.
i changed the logback.xml ,then i restart the drill and find some error in the drillbit.lgo 。
05:01:44.717 [main] WARN org.reflections.Reflections - could not scan file /opt/baian/drill/jars/drill-indexr-storage-1.8.0.jar!/org/apache/drill/exec/store/indexr/IndexRRecordReaderByPack.class with scanner AnnotationScanner
org.reflections.ReflectionsException: could not create class file from IndexRRecordReaderByPack.class
at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:30) ~[reflections-0.9.8.jar:na]
at org.reflections.Reflections.scan(Reflections.java:217) [reflections-0.9.8.jar:na]
at org.reflections.Reflections.scan(Reflections.java:166) [reflections-0.9.8.jar:na]
at org.reflections.Reflections.(Reflections.java:94) [reflections-0.9.8.jar:na]
at org.apache.drill.common.scanner.ClassPathScanner.scan(ClassPathScanner.java:402) [drill-common-1.9.0.jar:1.9.0]
at org.apache.drill.common.scanner.RunTimeScan.fromPrescan(RunTimeScan.java:62) [drill-common-1.9.0.jar:1.9.0]
at org.apache.drill.common.scanner.ClassPathScanner.fromPrescan(ClassPathScanner.java:452) [drill-common-1.9.0.jar:1.9.0]
at org.apache.drill.exec.expr.fn.HiveFunctionRegistry.(HiveFunctionRegistry.java:67) [drill-storage-hive-core-1.9.0.jar:1.9.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.8.0_40]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [na:1.8.0_40]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.8.0_40]
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [na:1.8.0_40]
at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.(FunctionImplementationRegistry.java:110) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.(FunctionImplementationRegistry.java:125) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.server.DrillbitContext.(DrillbitContext.java:92) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:106) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:120) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272) [drill-java-exec-1.9.0.jar:1.9.0]
at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268) [drill-java-exec-1.9.0.jar:1.9.0]
Caused by: org.reflections.ReflectionsException: could not create class file from IndexRRecordReaderByPack.class
at org.reflections.adapters.JavassistAdapter.createClassObject(JavassistAdapter.java:128) ~[reflections-0.9.8.jar:na]
at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:118) ~[reflections-0.9.8.jar:na]
at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:26) ~[reflections-0.9.8.jar:na]
at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:27) ~[reflections-0.9.8.jar:na]
... 19 common frames omitted
Caused by: java.io.IOException: invalid constant type: 18
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1090) ~[javassist-3.12.1.GA.jar:na]
at javassist.bytecode.ConstPool.read(ConstPool.java:1033) ~[javassist-3.12.1.GA.jar:na]
at javassist.bytecode.ConstPool.(ConstPool.java:149) ~[javassist-3.12.1.GA.jar:na]
at javassist.bytecode.ClassFile.read(ClassFile.java:737) ~[javassist-3.12.1.GA.jar:na]
at javassist.bytecode.ClassFile.(ClassFile.java:108) ~[javassist-3.12.1.GA.jar:na]
at org.reflections.adapters.JavassistAdapter.createClassObject(JavassistAdapter.java:126) ~[reflections-0.9.8.jar:na]
... 22 common frames omitted
from indexr.
i can‘t solve this by my self ,thinks you very much!
from indexr.
Hi AisTop,
It looks like your jre does not support the class version. IndexR only support Java 1.8+. You should check your jre version.
from indexr.
Hi flowbehappy think you , i find it.
it's my mistake ,because my test_exmple.json is not right ,kafka is not config 。so can‘t receive data from the kafka topic .
i try the sample test.json the content is ;
{
"schema":{
"columns":
[
{"name": "date", "dataType": "int"},
{"name": "d1", "dataType": "string"},
{"name": "m1", "dataType": "int"},
{"name": "m2", "dataType": "long"},
{"name": "m3", "dataType": "float"},
{"name": "m4", "dataType": "double"}
]
}
}
create talbe
./tools.sh -cmd settb -t hjjtest -c test_schem.json
in the finally i succeess find the reson.
from indexr.
I notice that you running Drill 1.9, and IndexR plugin is compiled under Drill 1.8, maybe that is the root cause. I will push a indexr-drill-1.9.0 later.
from indexr.
Hi AisTop,
Happy to see you make it :)
from indexr.
i will set the kafka topic and to check the issue. think you .
from indexr.
Related Issues (20)
- hi,I compiled indexr-0.2.1-bugfix2 encountered an error! HOT 2
- Using jdk1.7 compiler indexr will have unpredictable problems? HOT 2
- Failed to find io.indexr:indexr-common:jar:0.3.0
- Maven compile problem HOT 1
- OOM in indexr hive
- AbstractMethodError of OutputWriter in indexr-spark under Spark 2.2+ HOT 1
- Can't parallelize fragment: Every mandatory node has exhausted the maximum width per node limit. HOT 8
- Issue while compiling => script/setup_indexr-segment.sh: source: not found HOT 2
- unable to create storage plugin HOT 1
- compile error HOT 1
- About indexr index
- About Indexr data HOT 1
- Cannot create storage in drill HOT 1
- Is the indexr sql process outputs the wrong type? HOT 1
- 含有空字段的数据记录被舍弃 HOT 3
- drill新建storage失败 HOT 8
- 维护询问 HOT 1
- 我是否可以用impala来查询 HOT 1
- mysql to hive (create by hivesql) HOT 1
- spark 2.4 compatible HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indexr.