Fixing drillbit start failed due to wrong permission

Document created by rsingh on Feb 13, 2016
Version 1Show Document
  • View in full screen mode

Author: Rajkumar Singh

 

Original Publication Date: May 3, 2015

Env:

M5

Drill-0.9

 

Symptom:

Drill-bit unable to start.

Drill-bit run for a moment then went into the exception due to wrong permission.

Drill-bit service stop after some time in the MCS but on node it seems to be running.

user can see the following logs while connecting to the sqlline

|-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] -

openFile(/var/log/drill/sqlline.log,true) call failed.

java.io.FileNotFoundException: /var/log/drill/sqlline.log (Permission denied)

  at java.io.FileNotFoundException: /var/log/drill/sqlline.log (Permission denied)

Root Cause:
Drill-bit runs with the user mapr, due to bad permission over the drill installation directory, it was unable to launch service properly.

 

Solution:
Set the right permission on the drill Installation directory.

Attachments

    Outcomes