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: Failure while initializing values in Drillbit. Invalid namespace: /drill
Date Sat, 14 Jun 2014 08:53:30 GMT
That seemed to have helped. Now there is a change in the log:

14/06/14 04:51:26 INFO jgroups.JGroupsTransport: ISPN000078: Starting
JGroups Channel
14/06/14 04:51:26 INFO jgroups.JGroupsTransport: ISPN000088: Unable to use
any JGroups configuration mechanisms provided in properties {}. Using
default JGroups configuration!
14/06/14 04:51:27 WARN protocols.UDP: JGRP000015: the receive buffer of
socket DatagramSocket was set to 20MB, but the OS only allocated 4.19MB.
This might lead to performance problems. Please set your max receive buffer
in the OS correctly (e.g. net.core.rmem_max on Linux)
14/06/14 04:51:27 WARN protocols.UDP: JGRP000015: the receive buffer of
socket MulticastSocket was set to 25MB, but the OS only allocated 4.19MB.
This might lead to performance problems. Please set your max receive buffer
in the OS correctly (e.g. net.core.rmem_max on Linux)
14/06/14 04:51:30 INFO jgroups.JGroupsTransport: ISPN000094: Received new
cluster view: [mufeed-drill1-38002|0] (1) [mufeed-drill1-38002]
14/06/14 04:51:30 INFO jgroups.JGroupsTransport: ISPN000079: Cache local
address is mufeed-drill1-38002, physical addresses are
[fe80:0:0:0:2000:aff:fe8e:89f5%2:35021]
14/06/14 04:51:30 INFO factories.GlobalComponentRegistry: ISPN000128:
Infinispan version: Infinispan 'Infinium' 6.0.2.Final
14/06/14 04:51:30 INFO jmx.CacheJmxRegistration: ISPN000031: MBeans were
successfully registered to the platform MBean server.
Jun 14, 2014 4:51:35 AM org.glassfish.jersey.server.ApplicationHandler
initialize
INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29
01:25:26...

But I still see the service in down state when I do:
[root@mufeed-drill1 conf]# maprcli service list -node `hostname`
name         state  logpath
                     displayname
fileserver   2      /opt/mapr/logs/mfs.log
                      FileServer
drill-bits   4
 /opt/mapr/drill/drill-1.0.0/apache-drill-1.0.0-m2-incubating-SNAPSHOT/logs/
 DrillBit
nfs          2      /opt/mapr/logs/nfsserver.log
                      NFS Gateway
webserver    2      /opt/mapr/logs/adminuiapp.log
                     Webserver
cldb         2      /opt/mapr/logs/cldb.log
                     CLDB
tasktracker  2      /opt/mapr/hadoop/hadoop-0.20.2/logs
                     TaskTracker
jobtracker   2      /opt/mapr/hadoop/hadoop-0.20.2/logs
                     JobTracker
hoststats    2      /opt/mapr/logs/hoststats.log
                      HostStats


---
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 Sat, Jun 14, 2014 at 2:20 PM, Aditya <adityakishore@gmail.com> wrote:

> Replace
>
>> root: "/drill",
>>
> with
>
>> root: "drill",
>>
>
> Or simply get rid of this line (default value of this setting is "drill")
>
>
>
> On Sat, Jun 14, 2014 at 1:48 AM, mufy <mufeed.usman@gmail.com> wrote:
>
>> Hello Aditya,
>>
>> I have the following in the drill-override.conf:
>>
>> drill.exec: {
>>   cluster-id: "drillbits1",
>>
>>   zk: {
>>     connect: "mufeed-drill1:5181,mufeed-drill2:5181,mufeed-drill3:5181",
>>     root: "/drill",
>>     refresh: 500,
>>     timeout: 5000,
>>     retry: {
>>       count: 7200,
>>       delay: 500
>>     }
>>   },
>> }
>>
>> And no /etc/drill directory:
>> [root@mufeed-drill1 conf]# ls -d /etc/drill
>> ls: cannot access /etc/drill: No such file or directory
>>
>> Any other location from where it could be picking it up from? Or anything
>> wrong the way I have given the settings?
>>
>>
>> ---
>> 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 Sat, Jun 14, 2014 at 2:13 PM, Aditya <adityakishore@gmail.com> wrote:
>>
>>> It is loading an older version of "drill-override.conf", most likely
>>> from "
>>> /etc/drill/conf" folder.
>>>
>>> This file should contain only the following setting (find the new one in
>>> "
>>> $DRILL_HOME/conf").
>>>
>>> drill.exec: {
>>>   cluster-id: "<your_cluster_id>",
>>>   zk.connect: "<your_zookeeper_quorum>"
>>> }
>>>
>>>
>>>
>>> On Sat, Jun 14, 2014 at 1:38 AM, mufy <mufeed.usman@gmail.com> wrote:
>>>
>>> > How do I resolve the following?
>>> >
>>> > Exception in thread "main"
>>> > org.apache.drill.exec.exception.DrillbitStartupException: Failure while
>>> > initializing values in Drillbit.
>>> >         at
>>> org.apache.drill.exec.server.Drillbit.start(Drillbit.java:70)
>>> >         at
>>> org.apache.drill.exec.server.Drillbit.start(Drillbit.java:61)
>>> >         at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:83)
>>> > Caused by: java.lang.IllegalArgumentException: Invalid namespace:
>>> /drill
>>> >         at
>>> >
>>> >
>>> org.apache.curator.framework.imps.NamespaceImpl.<init>(NamespaceImpl.java:41)
>>> >         at
>>> >
>>> >
>>> org.apache.curator.framework.imps.CuratorFrameworkImpl.<init>(CuratorFrameworkImpl.java:148)
>>> >         at
>>> >
>>> >
>>> org.apache.curator.framework.CuratorFrameworkFactory$Builder.build(CuratorFrameworkFactory.java:122)
>>> >         at
>>> >
>>> >
>>> org.apache.drill.exec.coord.zk.ZKClusterCoordinator.<init>(ZKClusterCoordinator.java:72)
>>> >         at
>>> >
>>> >
>>> org.apache.drill.exec.coord.zk.ZKClusterCoordinator.<init>(ZKClusterCoordinator.java:64)
>>> >         at
>>> org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:115)
>>> >         at
>>> org.apache.drill.exec.server.Drillbit.start(Drillbit.java:68)
>>> >         ... 2 more
>>> >
>>> > ---
>>> > 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