Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Is it still not possible to run custom map-reduce application jar in Bluemix Biginsight?

270007K31V gravatar image
Question by anindya  (16) | Jun 26, 2015 at 05:13 AM biginsightscustomibmcloudmapreduce

Hi All,

Is it still not possible to run custom map-reduce application jar in Bluemix Biginsight? We have our own custom map-reduce application jar that need to be run on Biginsight cluster in Bluemix. But, looks like there is no option to run custom application. Is it not possible yet? We worked on AMazon Web Services elastic mapreduce platform and there it is possible. We need similar functionality in Bluemix. Kindly let us us know if it is possible.

bluemixhungryGuy

People who like this

  1   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
120000H7FR gravatar image bluemixhungryGuy (37)   Jun 26, 2015 at 05:20 AM 0
Share

I am also looking for the answer for long time now...any advice from any expert ?

3 answers

  • Sort: 
270000AH37 gravatar image

Answer by dharjain (96) | Jul 06, 2015 at 02:24 AM

Hi Anindya, You can very much run map-reduce job on A4AH (Analytic's for Apache Hadoop service). Follow the steps below: 1) Create an Oozie workflow with map-reduce action, configure map-reduce action to user your mapper and reducer classes. For more details on Oozie MR action follow this link- https://oozie.apache.org/docs/3.2.0-incubating/WorkflowFunctionalSpec.html#a3.2.2_Map-Reduce_Action

2) Submit the job created above to the Oozie server via Oozie Rest APIs- curl --user biblumix:password_for_your_provisioned_cluster -X POST -H "Content-Type: application/xml" -d @config.xml "https://hostname_of_your_provisioned_cluster:8443/gateway/default/oozie/v1/jobs?action=start"

Here is a sample config.xml:

user.name biblumix

jobTracker mn01.services.dal.bluemix.net:8050

oozie.wf.application.path hdfs://path/to/your/oozie/application

queueName default

nameNode hdfs://mn01.services.dal.bluemix.net:8020

3) Track progress of the submitted job curl --user biblumix: https://hostname_of_your_provisioned_cluster:8443/gateway/default/oozie/v1/jobs?jobtype=wf

Note: For more details on Oozie Rest API refer this link- https://oozie.apache.org/docs/3.1.3-incubating/WebServicesAPI.html#Job_and_Jobs_End-Points Cheers Dharmesh

[1]: https://oozie.apache.org/docs/3.2.0-incubating/WorkflowFunctionalSpec.html#a3.2.2_Map-Reduce_Action

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270000AH37 gravatar image

Answer by dharjain (96) | Jul 06, 2015 at 02:45 AM

For more details on uploading and working with uploaded data, refer this link- https://www.ng.bluemix.net/docs/services/AnalyticsforHadoop/index.html#analyticsforhadoop_working

Cheers Dharmesh

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270005J3NQ gravatar image

Answer by EmmanuelB (16) | Jul 18, 2015 at 11:18 AM

Hello.

I can't upload data to HDFS by following the instructions to use the webHDFS interface.

I first got the temporary redirect address by executing this:

curl --user "biblumix:XXXXXXXX" -i -X PUT -T messages https://bi-hadoop-prod-2327.services.dal.bluemix.net:8443/gateway/default/webhdfs/v1/user/biblumix/apps/map-reduce/?op=CREATE

And got the following redirect address: Location: https://bi-hadoop-prod-2327.services.dal.bluemix.net:8443/gateway/default/webhdfs/data/v1/webhdfs/v1/user/biblumix/apps/map-reduce?_=AAAACAAAABAAAACg340D-sTpzl1swuxJvKfoGwPRi0LW66Hz14Peh9pUt6hWCHQRdYve3o9_QSF8EI8CkQto_2SMoHXq9hNaPbrVAWhTlKQpwCqpwvDKkHIANmHbpPdsNUgOdL3o81dKLUH7y5LAs6iHPlh8NEPY8xk1rAvBhROy-_2aCERkFlPRR87Yt6byONX2iLYlpy2MS7K1TbDzgSHN9YgdQRpE1vMxT2V2ElRdRwYJ_ErehmRJO90-roshXafz4w

Then when I try to upload using that address I get the following:

curl --user "biblumix:XXXXXXXX" -i -X PUT -T messages https://bi-hadoop-prod-2327.services.dal.bluemix.net:8443/gateway/default/webhdfs/data/v1/webhdfs/v1/user/biblumix/apps/map-reduce?op=CREATE

HTTP/1.1 500 Server Error Set-Cookie: JSESSIONID=1xp71rnruke4j5gg6b9tr9mce;Path=/gateway/default;Secure;HttpOnly Content-Length: 0 Server: Jetty(8.1.14.v20131031)

Why am I getting error 500 when I try to upload a file to HDFS ?

Comment

People who like this

  0   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270005J3NQ gravatar image EmmanuelB (16)   Jul 18, 2015 at 11:58 AM 0
Share

Go it working by entering the whole redirect URL (adding the _ variable)

Follow this question

63 people are following this question.

Answers

Answers & comments

Related questions

Cannot launch BigInsights console from Analytics for Hadoop service 4 Answers

How to load database from dashDB into HDFS with ibm bluemix ? 1 Answer

GOSALESDW.zip data for using BigSQL example linked from BigInsights Hadoop Service page 1 Answer

Deploy MapReduce applications on BigInsights 4 Answers

BigInsight Link between two application is not working(MapReduce +PIG) 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges