LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 04-13-2016, 06:48 PM   #1
jacktauson123
LQ Newbie
 
Registered: Apr 2016
Posts: 9

Rep: Reputation: Disabled
Where is share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.4.jar located?


I am referring to the following [doc][1] and I am currently on `Standalone Operation` step. They have mentioned to run the following commands:



Code:
 $ mkdir input
      $ cp etc/hadoop/*.xml input
      $ bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.2.jar grep input output 'dfs[a-z.]+'
      $ cat output/*

The directories in my terminal looks like the following:

Code:
 [root@localhost local]# ls
    bin  games   hadoop-2.6.4.tar.gz  input        lib    libexec  share
    etc  hadoop  include              jdk1.8.0_77  lib64  sbin     src
    [root@localhost local]# cd hadoop
    [root@localhost hadoop]# ls
    bin  etc  include  lib  libexec  LICENSE.txt  NOTICE.txt  README.txt  sbin  share
    [root@localhost hadoop]# cd bin
    [root@localhost bin]# ls
    container-executor  hadoop.cmd  hdfs.cmd  mapred.cmd  test-container-executor  yarn.cmd
    hadoop              hdfs        mapred    rcc         yarn
    [root@localhost bin]#
I couldn't see anything close to
Code:
`share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.2.jar`
after going into `bin` directory. I was expecting to see
Code:
`share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.4.jar`
since my version is different.

Could anyone explain me the meaning of that step and why I don't see anything like that?

[1]: https://hadoop.apache.org/docs/stabl...leCluster.html
 
Old 04-13-2016, 07:44 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would expect it to be in the highest level "share" directory. Go back up to "local" and look at the "share" there. Else try this (from "local")
Code:
find -iname hadoop-mapreduce-examples-*.jar 2>/dev/null
That shoud find them all if there is more than one. The bit at the end is just to get rid of error messages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is this Hadoop? Why is it getting so popular? What does Hadoop do? cyberdome General 6 05-08-2015 07:17 AM
LXer: Introduction to MapReduce with Hadoop on Linux LXer Syndicated Linux News 0 06-06-2013 01:21 AM
LXer: Introduction to Hadoop: Real-World Hadoop Clusters and Applications LXer Syndicated Linux News 0 04-30-2013 11:21 AM
[SOLVED] Mapreduce vardhan22 Linux - Distributions 7 04-20-2012 03:48 AM
LXer: Cloudera Distribution of Hadoop Available, Makes Hadoop Easy LXer Syndicated Linux News 0 03-16-2009 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration