I need some help regarding how to run a MapReduce Program/Job with Cloudera Docker Container.
I am using a Linux (ElementaryOS) high config. laptop (24GB RAM, i7 Processor).
I am able to install Cloudera docker image, ran it and also did the following without issues:
1. Seeing # prompt and run HDFS command (hadoop fs -ls) though it doesn't return anything.
2. Able to access Hue Editor
3. Able to run Cloudera manager and start all services (Everything).
4.In my Local Environment, I am able to create a WordCount MapReduce program (jar), downloaded all Maven dependencies for this program (not inside docker container).
Now my question is:
How to submit this WordCount JAR to running Docker Container?
How to run this MapReduce program/job (WordCount) with uploaded text file (HDFS)?
How to Execute MapReduce Job/JAR with Cloudera Quickstart Docker container
859 views Asked by Srikanth At
1
There are 1 answers
Related Questions in HADOOP
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Hadoop No appenders could be found for logger (org.apache.hadoop.mapreduce.v2.app.MRAppMaster)
- Top-N using Python, MapReduce
- Spark Driver vs MapReduce Driver on YARN
- ERROR: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "maprfs"
- can't write pyspark dataframe to parquet file on windows
- How to optimize writing to a large table in Hive/HDFS using Spark
- Can't replicate block xxx because the block file doesn't exist, or is not accessible
- HDFS too many bad blocks due to "Operation category WRITE is not supported in state standby" - Understanding why datanode can't find Active NameNode
- distcp throws java.io.IOException when copying files
- Hadoop MapReduce WordPairsCount produces inconsistent results
- If my data is not partitioned can that be why I’m getting maxResultSize error for my PySpark job?
- resource manager and nodemanager connectivity issues
- ERROR flume.SinkRunner: Unable to deliver event
- converting varchar(7) to decimal (7,5) in hive
Related Questions in CLOUDERA-CDH
- Does CDH 6.3.2 yarn have Resource or node restrictions?
- CDH 6.3.2 YARN's queue has a lots of pending applications,but yarn queue resources are sufficient
- How to integrate Hadoop of Oracle Bigdata Appliance into Ab Initio Metadata Hub?
- Hive How to disable Semantic check 'Schema of both sides of union should match'
- impala error: could not retrieve transaction read-only status from server. why?
- Spark: IllegalArgumentException: "Error while instantiating 'org.apache.spark.sql.hive.HiveSessionStateBuilder':"
- Cloudera Enterprise (Community Edition) for RHEL 8
- Why does timestamp value changes between different presto versions?
- How to build impala without any platform dependencies and with build fit in single folder which can be migrated to other machines as well
- Why can't Impala-shell log in to LDAP even though the code is successful?
- GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos credentails) in web browser using AWS Network Load Balancer
- In CDP how to update OneViewofProfile Id through (VisitorId, browserID)?
- Failed to configure cloudera manager agent
- how to run select query for impala struct column
- sql select query for impala column with map data type
Related Questions in CLOUDERA-MANAGER
- Cloudera Enterprise (Community Edition) for RHEL 8
- monitoring and observability over my Hadoop cluster
- Failed to configure cloudera manager agent
- Guava jar giving continuous error while deployment
- Unable to Download Cloudera and CDH Repository
- How to do YARN role graceful shutdown on a Cloudera Manager datanode CDH 6.3.2
- cloudera - how to allocate resources for different users
- How to disable cloudera parcels from automatically distributing to all hosts or is there a way to setup a repo for all hosts?
- Adding new service type in Cloudera Manager
- Cloudera CDP Private Cloud - Installation failed on hosts
- How to get query id for impala queries executed via sqlalchemy
- How to set Data Granularity with cm_api api.query_timeseries
- Errno 14 PYCURL ERROR 6 ; Couldn't resolve host in Cloudera Manager 7.x upgrade
- What's the latest version of Cloudera Manager and CDH?
- Not able to run scm_prepare_database.sh script
Related Questions in CLOUDERA-QUICKSTART-VM
- cloudera/quickstart image running in docker container is not starting and status is exited(139). How to solve it?
- Permission denied error while importing a table into HDFS using Scoop
- Spark Hive Integration issue with eclipse
- cloudera sandbox - docker run error mac m1
- How to combine two columns on the same table using Hive
- Installing Cloudera Quick start VM on M1 macOs
- How to speed up writing into Impala from Talend
- How to get hortonworks data platform and cloudera distribution for hadoop latest version
- inserting data into partition table Error while processing statement: org.apache.hadoop.hive.ql.exec.mr.MapRedTask
- how to solve the extited code 139, for run the image cloudera/quickstart, in docker with WSL2 Ubuntu?
- ERROR Could not find value for key log4j.appender.RFA
- PigStorage() isn't storing the query output
- How to write multiline in Cloudera QuickStart Terminal?
- Hive error message. Does anyone know how to fix this?
- Which Distribution CDH Vs HDP
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you start your container with port mapping for the 8888 port, you will be able to access Hue that contains a file brower. So you will be able to easily put HDFS files in you cluster.
To launch a map/reduce job, you will need to copy your jar inside the container, as Cloudera didn't provide any volumes in it's container (at least, not documented here : http://www.cloudera.com/documentation/enterprise/latest/topics/quickstart_docker_container.html) it can be challenging. Maybe you can try adding it via scp.
I myself create some cloudera containers, I provide one container by node type (masternode, datanode, edgenode) and I just add a volume in the edgenode as iy seems to be a good think to provide. You can find my container in the docker hub : https://hub.docker.com/r/loicmathieu/cloudera-cdh-edgenode/