Ask Your Question
0

any live example on show to use sahara dashboard to run hadoop wordcount example?

asked 2014-08-14 21:25:13 -0500

9lives gravatar image

updated 2014-08-14 22:19:36 -0500

Dear stackers,

I am struggling with running wordcount example using sahara dashboad UI, checking the sahara official guide many times and there is no such example, does any one know how to run the word count example using sahara UI?

PS: my generated oozie workflow file is like this: oozie workflow file.

<?xml version="1.0" ?>
<workflow-app name="job-wf" xmlns="uri:oozie:workflow:0.2">
  <start to="job-node"/>
  <action name="job-node">
    <map-reduce>
      <job-tracker>${jobTracker}</job-tracker>
      <name-node>${nameNode}</name-node>
      <configuration>
        <property>
          <name>mapreduce.job.maps</name>
          <value>10</value>
        </property>
        <property>
          <name>mapreduce.job.reduces</name>
          <value>10</value>
        </property>
        <property>
          <name>mapreduce.reduce.class</name>
          <value>org.apache.hadoop.examples.WordCount$IntSumReducer</value>
        </property>
        <property>
          <name>mapreduce.map.class</name>
          <value>org.apache.hadoop.examples.WordCount$TokenizerMapper</value>
        </property>
        <property>
          <name>fs.swift.service.sahara.username</name>
          <value>demo</value>
        </property>
        <property>
          <name>fs.swift.service.sahara.password</name>
          <value>password</value>
        </property>
        <property>
          <name>mapred.input.dir</name>
          <value>swift://input.sahara/config-reference-icehouse</value>
        </property>
        <property>
          <name>mapred.output.dir</name>
          <value>swift://result.sahara/output</value>
        </property>
      </configuration>
    </map-reduce>
    <ok to="end"/>
    <error to="fail"/>
  </action>
  <kill name="fail">
    <message>Workflow failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
  </kill>
  <end name="end

Anything wrong with it?

Thanks a billion!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-20 19:36:18 -0500

9lives gravatar image

After some digging and we found there is actually a bp https://blueprints.launchpad.net/saha... for answering this question.

Cheers!

Vic

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-14 21:25:13 -0500

Seen: 538 times

Last updated: Aug 20 '14