Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2188

Can't start tajo daemon on HDP,CDH

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.0
    • Component/s: TajoMaster, Worker
    • Labels:
      None
    • Environment:

      HDP,CDH

      Description

      File.listFiles() returns null, if does not have read access
      Here is the log

      
      2018-07-05 19:23:21,317 INFO org.apache.tajo.master.TajoMaster: Staging dir: hdfs://xxx/tajo/warehouse 2018-07-05 19:23:21,414 INFO org.apache.hadoop.service.AbstractService: Service org.apache.tajo.master.TajoMaster failed in state INITED; cause: java.lang.NullPointerException java.lang.NullPointerException at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:60) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:61) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:50) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:38) at org.apache.tajo.rule.base.BaseRuleProvider.getDefinedRules(BaseRuleProvider.java:38) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.loadPredefinedRules(SelfDiagnosisRuleEngine.java:83) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.<init>(SelfDiagnosisRuleEngine.java:30) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.getInstance(SelfDiagnosisRuleEngine.java:37) at org.apache.tajo.master.TajoMaster.diagnoseTajoMaster(TajoMaster.java:324) at org.apache.tajo.master.TajoMaster.serviceInit(TajoMaster.java:179) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:627) 2018-07-05 19:23:21,417 INFO org.apache.tajo.master.TajoMaster: Tajo Master main thread exiting 2018-07-05 19:23:21,417 FATAL org.apache.tajo.master.TajoMaster: Error starting TajoMaster java.lang.NullPointerException at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:60) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:61) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:50) at org.apache.tajo.util.ClassUtil.findClasses(ClassUtil.java:38) at org.apache.tajo.rule.base.BaseRuleProvider.getDefinedRules(BaseRuleProvider.java:38) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.loadPredefinedRules(SelfDiagnosisRuleEngine.java:83) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.<init>(SelfDiagnosisRuleEngine.java:30) at org.apache.tajo.rule.SelfDiagnosisRuleEngine.getInstance(SelfDiagnosisRuleEngine.java:37) at org.apache.tajo.master.TajoMaster.diagnoseTajoMaster(TajoMaster.java:324) at org.apache.tajo.master.TajoMaster.serviceInit(TajoMaster.java:179) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.tajo.master.TajoMaster.main(TajoMaster.java:627) 2018-07-05 19:23:21,524 INFO org.apache.tajo.master.TajoMaster: SHUTDOWN_MSG:
      
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: