Hi Jacques,

Here is the error message in the drillbit.log

*************************
2015-06-02 08:18:32,410 [2a9236b6-a426-f129-66fb-f100c6bb8a56:foreman] WARN  
o.a.d.e.s.m.s.MongoSchemaFactory - Failure while loading databases in Mongo. { 
"serverUsed" : "mamongo01.qualcomm.com:27017" , "ok" : 0.0 , "errmsg" : "not 
authorized on admin to execute command { listDatabases: 1 }" , "code" : 13}
2015-06-02 08:18:32,438 [2a9236b6-a426-f129-66fb-f100c6bb8a56:foreman] INFO  
o.a.drill.exec.work.foreman.Foreman - State change requested.  PENDING --> 
RUNNING
2015-06-02 08:18:32,441 [2a9236b6-a426-f129-66fb-f100c6bb8a56:frag:0:0] INFO  
o.a.d.e.w.fragment.FragmentExecutor - 2a9236b6-a426-f129-66fb-f100c6bb8a56:0:0: 
State change requested from AWAITING_ALLOCATION --> RUNNING for
2015-06-02 08:18:32,442 [2a9236b6-a426-f129-66fb-f100c6bb8a56:frag:0:0] INFO  
o.a.d.e.w.f.AbstractStatusReporter - State changed for 
2a9236b6-a426-f129-66fb-f100c6bb8a56:0:0. New state: RUNNING
2015-06-02 08:18:32,457 [2a9236b6-a426-f129-66fb-f100c6bb8a56:frag:0:0] INFO  
o.a.d.e.w.fragment.FragmentExecutor - 2a9236b6-a426-f129-66fb-f100c6bb8a56:0:0: 
State change requested from RUNNING --> FINISHED for
2015-06-02 08:18:32,457 [2a9236b6-a426-f129-66fb-f100c6bb8a56:frag:0:0] INFO  
o.a.d.e.w.f.AbstractStatusReporter - State changed for 
2a9236b6-a426-f129-66fb-f100c6bb8a56:0:0. New state: FINISHED
2015-06-02 08:18:32,458 [BitServer-4] INFO  o.a.drill.exec.work.foreman.Foreman 
- State change requested.  RUNNING --> COMPLETED
2015-06-02 08:18:32,460 [BitServer-4] INFO  o.a.drill.exec.work.foreman.Foreman 
- foreman cleaning up.
*************************

Thanks,
Mano
From: Jacques Nadeau [mailto:[email protected]]
Sent: Monday, June 01, 2015 9:10 PM
To: Rangaswamy, Manoharan
Cc: [email protected]; [email protected]
Subject: Re: MapR Drill - mongodb collections does not show up

No additional debugging info should need to be enabled (at least initially).  
You should start by only starting one drillbit and then providing drillbit.log. 
 When I've seen this before there was an associated warning in drillbit.log 
when this type of failure occurred.  I would like to see if we're seeing the 
same thing here.

thanks,
Jacques

On Mon, Jun 1, 2015 at 10:47 AM, Rangaswamy, Manoharan 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jacques,

I saw your reply in the mail list and responding to your question.

Can you please let me know if you want me to execute the failing operation now 
and send the log files or setup some more debug info options and send the log 
file. Please let me know.

Thanks,
Mano
From: Rangaswamy, Manoharan
Sent: Monday, June 01, 2015 8:24 AM
To: '[email protected]<mailto:[email protected]>'
Subject: MapR Drill - mongodb collections does not show up

We are using MapR Drill 1.0 and configured a mongodb storage plugin as below.

{
  "type": "mongo",
  "connection": "mongodb://uid:pwd@host:port/dbname",
  "enabled": true
}

We are able to connect through CLI and Drill Explorer, but it does display any 
databases and query against any collection fail as well.

Robomongo connects well with the same user and it works.

Are we missing any additional configuration? Please let us know.

Thanks,
Mano



Reply via email to