Topic
  • 2 replies
  • Latest Post - ‏2013-06-13T17:04:20Z by SunneeVCSYadav
AniketPatil
AniketPatil
9 Posts

Pinned topic BigInsight Basic edition installation error: @localhost - java.lang.Exception

‏2013-05-30T14:57:55Z |

I was trying to install Infosphere BigInsights Basic Edition 2.0.0.0 on RHEL6.4.  However, I had this error message which I need help to resolve:

 

[ERROR] @localhost - java.lang.Exception
at com.ibm.xap.mgmt.util.TaskRunner.run(TaskRunner.java:65)
at com.ibm.xap.mgmt.hdm.HadoopMgmtFacade.resetDfsDatanodeDuReservedByCapaticyRatio(HadoopMgmtFacade.java:477)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:137)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:121)
at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:116)

java.io.FileNotFoundException: /tmp/cal-diskOfDir-localhost.sh (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:205)
at java.io.FileOutputStream.(FileOutputStream.java:156)
at java.io.FileWriter.(FileWriter.java:84)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.getDiskWrittenTo(CheckDiskTask.java:85)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.checkOrGetFreeSpaceForDatanode(CheckDiskTask.java:194)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.doTask(CheckDiskTask.java:175)
at com.ibm.xap.mgmt.util.Task.run(Task.java:77)
at com.ibm.xap.mgmt.util.TaskRunner$1.run(TaskRunner.java:52)
java.lang.ArithmeticException: divide by zero
at com.ibm.xap.mgmt.hdm.HadoopMgmtFacade.resetDfsDatanodeDuReservedByCapaticyRatio(HadoopMgmtFacade.java:506)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:137)
at com.ibm.xap.mgmt.hdm.PriorChecker.preCheck(PriorChecker.java:121)
at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:116)

[WARN] PriorChecker - Unable to reset dfs.datanode.du.reserved, using default 10GB

[ERROR] PriorChecker - Disk space check - failed on localhost
[ERROR] PriorChecker - 255 -- java.io.FileNotFoundException: /tmp/cal-diskOfDir-localhost.sh (Permission denied)
at java.io.FileOutputStream.(FileOutputStream.java:205)
at java.io.FileOutputStream.(FileOutputStream.java:156)
at java.io.FileWriter.(FileWriter.java:84)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.getDiskWrittenTo(CheckDiskTask.java:85)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.checkOrGetFreeSpaceForDatanode(CheckDiskTask.java:194)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.doTask(CheckDiskTask.java:175)
at com.ibm.xap.mgmt.util.Task.run(Task.java:77)
at com.ibm.xap.mgmt.util.TaskRunner$1.run(TaskRunner.java:52)

[ERROR] PriorChecker - Datanode disk space check - failed on localhost
[ERROR] PriorChecker - 255 -- java.io.FileNotFoundException: /tmp/cal-diskOfDir-localhost.sh (Permission denied)
at java.io.FileOutputStream.(FileOutputStream.java:205)
at java.io.FileOutputStream.(FileOutputStream.java:156)
at java.io.FileWriter.(FileWriter.java:84)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.getDiskWrittenTo(CheckDiskTask.java:85)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.checkOrGetFreeSpaceForDatanode(CheckDiskTask.java:194)
at com.ibm.xap.mgmt.hdm.CheckDiskTask.doTask(CheckDiskTask.java:175)
at com.ibm.xap.mgmt.util.Task.run(Task.java:77)
at com.ibm.xap.mgmt.util.TaskRunner$1.run(TaskRunner.java:52)

[FATAL] System pre-check fails, some prerequisite is not fulfilled. Check log for detail.

Attachment - Logfile.

 

Please help me to reslove this problem.

 

Thanks,

Aniket

Attachments

  • YangWeiWei
    YangWeiWei
    72 Posts

    Re: BigInsight Basic edition installation error: @localhost - java.lang.Exception

    ‏2013-05-31T02:52:31Z  

    Hello, that looks like the file permission issue in /tmp, could you just remove /tmp/cal-diskOfDir-localhost.sh and try again ? Also make sure /tmp is 777 permission

  • SunneeVCSYadav
    SunneeVCSYadav
    2 Posts

    Re: BigInsight Basic edition installation error: @localhost - java.lang.Exception

    ‏2013-06-13T17:04:20Z  

    Hello, that looks like the file permission issue in /tmp, could you just remove /tmp/cal-diskOfDir-localhost.sh and try again ? Also make sure /tmp is 777 permission

    It has not worked.

     

    Please suggest me what to do furthur.