For instance, if a folder reaches 100 MB then a spark job should be triggered. I read about the dirSize hdfs el function in oozie, but I'm not sure how to use it. Does it trigger the job when the folder reaches 100 MB, or does it have to be checked periodically in, let's say, every 2 minutes?
Is it possible to trigger a spark job via oozie when a folder's size reaches a certain threshold?
164 Views Asked by sanyi14ka At
1
There are 1 best solutions below
Related Questions in HADOOP
- pcap to Avro on Hadoop
- schedule and automate sqoop import/export tasks
- How to diagnose Kafka topics failing globally to be found
- Only 32 bit available in Oracle VM - Hadoop Installation
- Using HDFS with Apache Spark on Amazon EC2
- How to get raw hadoop metrics
- How to output multiple values with the same key in reducer?
- Loading chararray from embedded JSON using Pig
- Oozie Pig action stuck in PREP state and job is in RUNNING state
- InstanceProfile is required for creating cluster - create python function to install module
- mapreduce job not setting compression codec correctly
- What does namespace and block pool mean in MapReduce 2.0 YARN?
- Hadoop distributed mode
- Building apache hadoop 2.6.0 throwing maven error
- I am using Hbase 1.0.0 and Apache phoenix 4.3.0 on CDH5.4. When I restart Hbase regionserver is down
Related Questions in APACHE-SPARK
- Spark .mapValues setup with multiple values
- Where do 'normal' println go in a scala jar, under Spark
- How to query JSON data according to JSON array's size with Spark SQL?
- How do I set the Hive user to something different than the Spark user from within a Spark program?
- How to add a new event to Apache Spark Event Log
- Spark streaming + kafka throughput
- dataframe or sqlctx (sqlcontext) generated "Trying to call a package" error
- Spark pairRDD not working
- How to know which worker a partition is executed at?
- Using HDFS with Apache Spark on Amazon EC2
- How to create a executable jar reading files from local file system
- How to keep a SQLContext instance alive in a spark streaming application's life cycle?
- Cassandra spark connector data loss
- Proper way to provide spark application a parameter/arg with spaces in spark-submit
- sorting RDD elements
Related Questions in OOZIE
- Oozie Pig action stuck in PREP state and job is in RUNNING state
- API data to hadoop via Flume
- Oozie cannot detect Spark workflow-app tag in XML
- Using Oozie to create a hive table on hbase causes an error with libthrift?
- Oozie and Hue: why am I getting "permission denied" error while playing oozie workflow?
- can we see intermediate output in oozie workflow
- Hadoop - Oozie : check if existing oozie workflow is running
- Apache Oozie as a business workflow engine
- Specifying Driver Program for Map-Reduce Job in Oozie
- Passing parameters from one action to another in Oozie
- Oozie workflow file cannot see start step, error E0701
- Hue configuration error
- MapR oozie sqoop error; Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
- Oozie worflow with avro - output is a corrupt avro file
- Oozie on YARN - oozie is not allowed to impersonate hadoop
Related Questions in OOZIE-COORDINATOR
- How to invoke an oozie workflow via shell script and block/wait till workflow completion
- Saving hive output through oozie using ">"
- oozie fork join is not working after all the nodes are successful
- Oozie co-ordinator actions rerun
- How does one check completion status of LoadApplicationService?
- How does an Oozie coordinator react on an underlying workflow change?
- Oozie workflow not running properly
- Oozie coordinator start date set to actual date
- OOZIE - Create a coordinator app on unknown file name
- Is it possible to trigger a spark job via oozie when a folder's size reaches a certain threshold?
- Oozie - How to postpone a workflow until another one completes
- Spark job in oozie coordinator error - emr: Can not create a Path from an empty string
- How to mark an Oozie workflow action's status as OK
- Oozie jobs with fork and not using join
- How to build oozie 3.3.2 with Hive 0.11.0?
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)
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?
1 option for you is to run a oozie coordinator periodically (say for every 2min) to check on the file size, if it attains the specified limit you can trigger the spark job.