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

HDP on Windows – Installation Forum

DistributedCache problem

  • #27377
    Subroto Sanyal

    I have one node cluster(Windows) on which hdp-1.1.0-GA is installed. The Services of NameNode, DataNode, JobTracker and TaskTracker are running fine.
    I have a JobClient running on my MacBook with user “subroto”.
    The jobs fail because of missing Classes specified by Distributed Cache
    When a Job is submitted to the cluster; the distributed cache jars are downloaded on the Node at:
    I can see the jar files also at these locations.
    When I open the taskjvm.cmd I can see:

    set HADOOP_CLIENT_OPTS=”-Dhadoop.tasklog.taskid=attempt_201306130935_0012_m_000002_0 -Dhadoop.tasklog.iscleanup=false -Dhadoop.tasklog.totalLogFileSize=0″
    set SHELL=”cmd”
    set HADOOP_WORK_DIR=”c:\hdp\data\hdfs\mapred\local\taskTracker\subroto\jobcache\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\work”
    set HOME=”C:\Users\hadoop”
    set LOGNAME=”subroto”
    set HADOOP_TOKEN_FILE_LOCATION=”c:/hdp/data/hdfs/mapred/local/taskTracker/subroto/jobcache/job_201306130935_0012/jobToken”
    set HADOOP_HOME=”C:\hdp\hadoop\hadoop-1.1.0-SNAPSHOT”
    set LD_LIBRARY_PATH=”c:\hdp\data\hdfs\mapred\local\taskTracker\subroto\jobcache\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\work”
    set USER=”subroto”
    C:\Java\jdk1.6.0_45\jre\bin\java “-classpath” “C:\hdp\data\hdfs\mapred\local\taskTracker\subroto\jobcache\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\classpath-430686823459265078.jar” “-Xmx200m” “” “-Dhadoop.metrics.log.level=WARN” “-Djava.library.path=;C:\hdp\hadoop\hadoop-1.1.0-SNAPSHOT\lib\native\Windows_NT-amd64-64;c:\hdp\data\hdfs\mapred\local\taskTracker\subroto\jobcache\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\work” “” “-Dhadoop.log.dir=c:\hadoop\logs\hadoop” “-Dhadoop.root.logger=INFO,TLA” “-Dhadoop.tasklog.taskid=attempt_201306130935_0012_m_000002_0” “-Dhadoop.tasklog.iscleanup=false” “-Dhadoop.tasklog.totalLogFileSize=0” “org.apache.hadoop.mapred.Child” “” “49891” “attempt_201306130935_0012_m_000002_0” “c:\hadoop\logs\hadoop\userlogs\job_201306130935_0012\attempt_201306130935_0012_m_000002_0” “2092027230” > c:\hadoop\logs\hadoop\userlogs\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\stdout 2>> c:\hadoop\logs\hadoop\userlogs\job_201306130935_0012\attempt_201306130935_0012_m_000002_0\stderr

    I think the distributed cache files are getting cached to wrong folder location.

    Please let me know if this is expected behavior?

The forum ‘HDP on Windows – Installation’ 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.