Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stuck with Hadoop Installation in windows 7 64bit

 
Debajyoti Kundu
Ranch Hand
Posts: 30
1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to install Hadoop in windows 7 64bit OS. I've installed and set environment variables(wherever necessary) for cygwin, Microsoft windows SDKv7.1, protocol buffer 2.5.0, Maven 3.1.1 to before starting insatllation of hadoop. I had opened ms sdk as Administrator
and ran the following command:
mvn package -Pdist,native-win -DskipTests -Dtar

I'm stuck in the third last stage of installation with the following error message (Please check the bold lines):

[exec] Hadoop dist layout available at: C:\hdfs\hadoop-dist\target/hadoop-2
.2.0
[exec]
[INFO] Executed tasks
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ hadoop-dist ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar-no-fork (hadoop-java-sources) @ hadoop-
dist ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-source-plugin:2.1.2:test-jar-no-fork (hadoop-java-sources) @ ha
doop-dist ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ hadoop-
dist ---
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (tar) @ hadoop-dist ---
[INFO] Executing tasks

main:
[exec] $ tar cf hadoop-2.2.0.tar hadoop-2.2.0
[exec] $ gzip -f hadoop-2.2.0.tar
[exec]
[exec] Hadoop dist tar available at: C:\hdfs\hadoop-dist\target/hadoop-2.2.
0.tar.gz
[exec]
[INFO] Executed tasks
[INFO]
[INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-dist ---
[INFO] Building jar: C:\hdfs\hadoop-dist\target\hadoop-dist-2.2.0-javadoc.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [1.385s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [1.153s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [2.478s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.204s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [1.948s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [3.339s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [2.986s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [2.140s]
[INFO] Apache Hadoop Common .............................. SUCCESS [1:42.632s]
[INFO] Apache Hadoop NFS ................................. SUCCESS [6.650s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.050s]
[INFO] Apache Hadoop HDFS ................................ SUCCESS [1:33.896s]
[INFO] Apache Hadoop HttpFS .............................. SUCCESS [23.785s]
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SUCCESS [7.486s]
[INFO] Apache Hadoop HDFS-NFS ............................ SUCCESS [3.349s]
[INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.047s]
[INFO] hadoop-yarn ....................................... SUCCESS [0.151s]
[INFO] hadoop-yarn-api ................................... SUCCESS [54.059s]
[INFO] hadoop-yarn-common ................................ SUCCESS [31.470s]
[INFO] hadoop-yarn-server ................................ SUCCESS [0.123s]
[INFO] hadoop-yarn-server-common ......................... SUCCESS [8.507s]
[INFO] hadoop-yarn-server-nodemanager .................... SUCCESS [11.736s]
[INFO] hadoop-yarn-server-web-proxy ...................... SUCCESS [2.953s]
[INFO] hadoop-yarn-server-resourcemanager ................ SUCCESS [12.842s]
[INFO] hadoop-yarn-server-tests .......................... SUCCESS [0.201s]
[INFO] hadoop-yarn-client ................................ SUCCESS [4.214s]
[INFO] hadoop-yarn-applications .......................... SUCCESS [0.108s]
[INFO] hadoop-yarn-applications-distributedshell ......... SUCCESS [1.909s]
[INFO] hadoop-mapreduce-client ........................... SUCCESS [0.099s]
[INFO] hadoop-mapreduce-client-core ...................... SUCCESS [25.490s]
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SUCCESS [1.653s]
[INFO] hadoop-yarn-site .................................. SUCCESS [0.131s]
[INFO] hadoop-yarn-project ............................... SUCCESS [7.148s]
[INFO] hadoop-mapreduce-client-common .................... SUCCESS [21.378s]
[INFO] hadoop-mapreduce-client-shuffle ................... SUCCESS [2.188s]
[INFO] hadoop-mapreduce-client-app ....................... SUCCESS [13.169s]
[INFO] hadoop-mapreduce-client-hs ........................ SUCCESS [4.420s]
[INFO] hadoop-mapreduce-client-jobclient ................. SUCCESS [4.523s]
[INFO] hadoop-mapreduce-client-hs-plugins ................ SUCCESS [1.653s]
[INFO] Apache Hadoop MapReduce Examples .................. SUCCESS [6.423s]
[INFO] hadoop-mapreduce .................................. SUCCESS [2.159s]
[INFO] Apache Hadoop MapReduce Streaming ................. SUCCESS [4.541s]
[INFO] Apache Hadoop Distributed Copy .................... SUCCESS [7.441s]
[INFO] Apache Hadoop Archives ............................ SUCCESS [1.855s]
[INFO] Apache Hadoop Rumen ............................... SUCCESS [6.888s]
[INFO] Apache Hadoop Gridmix ............................. SUCCESS [3.884s]
[INFO] Apache Hadoop Data Join ........................... SUCCESS [2.650s]
[INFO] Apache Hadoop Extras .............................. SUCCESS [2.651s]
[INFO] Apache Hadoop Pipes ............................... SUCCESS [0.044s]
[INFO] Apache Hadoop Tools Dist .......................... SUCCESS [1.550s]
[INFO] Apache Hadoop Tools ............................... SUCCESS [0.042s]
[INFO] Apache Hadoop Distribution ........................ FAILURE [13.039s]
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:38.290s
[INFO] Finished at: Mon Jun 16 02:56:41 IST 2014
[INFO] Final Memory: 80M/620M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8
.1:jar (module-javadocs) on project hadoop-dist: ArchiverException: Error while
creating archive: Problem creating jar: C:\hdfs\hadoop-dist\target\hadoop-2.2.0\
bin\hadoop.dll (Access is denied) -> [Help 1]


If anyone can kindly suggest a walkthrough it would be highly appreciated as I'm stuck with this for some time now.

Thanks for your help
 
Debajyoti Kundu
Ranch Hand
Posts: 30
1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Issue resolved
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nice to know that problem is solved. please post the solution here so that other peoples can take help from your solution
 
Debajyoti Kundu
Ranch Hand
Posts: 30
1
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Initially I was giving permission to a folder by:
right clicking on folder->properties->security(tab)->edit->Then giving full permission to the desired user,Everyone etc.
I was following this process from concerned directory to it's parent and so on upto main parent folder(eg: c:\hdfs)

Every time I was rebuilding, permissions that I granted previously was being revoked (for some folders). Then I tried giving permission to the c:\hdfs directory using
chmod -R 777 <folder-name>
[I was using windows SDK7.1 command prompt for the entire building process and running in Administrator mode. Not running as Administrator caused some permission problems in some previous build failure]

Build was successful after following this step.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic