The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Hortonworks Sandbox Forum

start_metastore_scripts / start_hiveserver2_scripts missing

  • #57542

    I was able to load the Horton sandbox on Hyper-V. But when I start the server I am getting the below warning:
    /tmp/start_metastore_scripts: No such file or directory
    /tmp/start_hiveserver2_scripts: No such file or directory

    I checked the /tmp folder and the files are not there.
    When I try Beeswax or Hcatalog , I am getting this error.
    Could not connect to

    Need your help

  • Author
  • #57549

    here is the boot.log
    Updating IP…
    Starting HDP …
    Starting mysql [^[[32;01m OK ^[[0m]
    Starting Knox ldap [^[[32;01m OK ^[[0m]
    Starting Postgre SQL [^[[32;01m OK ^[[0m]
    Starting secondary name node [^[[32;01m OK ^[[0m]
    Starting data node [^[[32;01m OK ^[[0m]
    Starting name node [^[[32;01m OK ^[[0m]
    DEPRECATED: Use of this script to execute hdfs command is deprecated.
    Instead use the hdfs command for it.

    Starting Oozie [^[[32;01m OK ^[[0m]
    Starting zookeeper nodes [^[[33;01mWARNINGS^[[0m]
    JMX enabled by default
    Using config: /etc/zookeeper/conf/zoo.cfg
    Safe mode is OFF
    Starting NFS portmap [^[[32;01m OK ^[[0m]
    Starting Hdfs nfs [^[[32;01m OK ^[[0m]
    Starting hive server [^[[33;01mWARNINGS^[[0m]
    env: /tmp/start_metastore_script: No such file or directory
    Starting Hiveserver2 [^[[33;01mWARNINGS^[[0m]
    env: /tmp/start_hiveserver2_script: No such file or directory
    Starting yarn history server [^[[32;01m OK ^[[0m]
    Starting node manager [^[[32;01m OK ^[[0m]
    Starting mapred history server [^[[32;01m OK ^[[0m]
    Starting webhcat server [^[[32;01m OK ^[[0m]
    Starting resource manager [^[[32;01m OK ^[[0m]
    Starting Knox gateway [^[[32;01m OK ^[[0m]
    Starting Falcon [^[[32;01m OK ^[[0m]
    Safe mode is OFF

    Scott Turnberg

    I’m running into this same problem. I re-downloaded the sandbox, copied over the missing scripts and now everything is working.

    Why is a startup script getting stored in /tmp? Is this bad design or is it intended as a timeout for the sandbox?

    peter mcnally

    I have the same issue. Was this resolved?

    peter mcnally

    Scott’s solution worked for me (not sure why these scripts were missing) after I changed the permissions for the two files using
    > chmod a+x start_hiveserver2_script
    > chmod a+x start_metastore_script

The forum ‘Hortonworks Sandbox’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.