Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5063

Master fails to start on clusters where hiveserver2 and CDAP runs on the same node.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: CDAP
    • Labels:
      None
    • Rank:
      1|hzz7hj:

      Description

      When the CDAP and hiveserver2 services are running on the same node in the cluster, Master process fails to start with the exception -

      Caused by: java.io.FileNotFoundException: /var/tmp/cdap/hiveserver2-site.xml (No such file or directory)
              at java.io.FileInputStream.open(Native Method) ~[na:1.7.0_67]
              at java.io.FileInputStream.<init>(FileInputStream.java:146) ~[na:1.7.0_67]
              at java.io.FileInputStream.<init>(FileInputStream.java:101) ~[na:1.7.0_67]
              at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) ~[na:1.7.0_67]
              at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) ~[na:1.7.0_67]
              at java.net.URL.openStream(URL.java:1037) ~[na:1.7.0_67]
              at org.apache.twill.internal.ApplicationBundler.copyResource(ApplicationBundler.java:353) ~[org.apache.twill.twill-core-0.6.0-incubating.jar:0.6.0-incubating]
              at org.apache.twill.internal.ApplicationBundler.createBundle(ApplicationBundler.java:159) ~[org.apache.twill.twill-core-0.6.0-incubating.jar:0.6.0-incubating]
              at org.apache.twill.yarn.YarnTwillPreparer.createContainerJar(YarnTwillPreparer.java:426) ~[co.cask.cdap.cdap-app-fabric-3.3.1.jar:0.6.0-incubating]
              at org.apache.twill.yarn.YarnTwillPreparer.access$300(YarnTwillPreparer.java:110) ~[co.cask.cdap.cdap-app-fabric-3.3.1.jar:0.6.0-incubating]
              at org.apache.twill.yarn.YarnTwillPreparer$1.call(YarnTwillPreparer.java:302) ~[co.cask.cdap.cdap-app-fabric-3.3.1.jar:0.6.0-incubating]
              at org.apache.twill.yarn.YarnTwillPreparer$1.call(YarnTwillPreparer.java:291) ~[co.cask.cdap.cdap-app-fabric-3.3.1.jar:0.6.0-incubating]
              at org.apache.twill.yarn.YarnTwillController.doStartUp(YarnTwillController.java:97) ~[org.apache.twill.twill-yarn-0.6.0-incubating.jar:0.6.0-incubating]
              ... 4 common frames omitted
      

        Attachments

          Activity

            People

            • Assignee:
              sagar Sagar Kapare
              Reporter:
              sagar Sagar Kapare
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: