incubator-drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mufy <mufeed.us...@gmail.com>
Subject Re: Apache Drill Installation : select * from sys.drillbits Failing
Date Tue, 05 Aug 2014 14:22:59 GMT
Tried adding:

[root@mufeed-drill1 mapr]# cat /opt/drill/conf/drill-env.sh

DRILL_MAX_DIRECT_MEMORY="8G"
DRILL_MAX_HEAP="4G"

export DRILL_JAVA_OPTS="-Xms1G -Xmx$DRILL_MAX_HEAP
-XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY -XX:MaxPermSize=512M
-XX:ReservedCodeCacheSize=1G -ea"

# Class unloading is disabled by default in Java 7
#
http://hg.openjdk.java.net/jdk7u/jdk7u60/hotspot/file/tip/src/share/vm/runtime/globals.hpp#l1622
export SERVER_GC_OPTS="-XX:+CMSClassUnloadingEnabled
-XX:+UseConcMarkSweepGC"
export HADOOP_HOME=/opt/mapr/hadoop/hadoop-0.20.2/
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre

No luck.


---
Mufeed Usman
My LinkedIn <http://www.linkedin.com/pub/mufeed-usman/28/254/400> | My
Social Cause <http://www.vision2016.org.in/> | My Blogs : LiveJournal
<http://mufeed.livejournal.com>





On Tue, Aug 5, 2014 at 7:31 PM, mufy <mufeed.usman@gmail.com> wrote:

> Any idea what could be possibly causing this?
>
> 0: jdbc:drill:zk=mufeed-drill1:5181,mufeed-dr> select * from sys.drillbits;
> Query failed: Failure while setting up query. JDK Java compiler not
> available - probably you're running a JRE, not a JDK
> [8fbd4c3b-aa9f-45e4-9172-d124498f587e]
>
> Error: exception while executing query: Failure while trying to get next
> result batch. (state=,code=0)
>
>
> ---
> Mufeed Usman
> My LinkedIn <http://www.linkedin.com/pub/mufeed-usman/28/254/400> | My
> Social Cause <http://www.vision2016.org.in/> | My Blogs : LiveJournal
> <http://mufeed.livejournal.com>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message