Comments (5)
So, the step that runs hive reports that it's "done":
"Steps": [
{
"ExecutionStatusDetail": {
"StartDateTime": 1289265498.0,
"EndDateTime": 1289265523.0,
"LastStateChangeReason": null,
"CreationDateTime": 1289265353.0,
"State": "COMPLETED"
},
"StepConfig": {
"Name": "Setup Hive",
"HadoopJarStep": {
"Jar": "s3:\/\/us-east-1.elasticmapreduce\/libs\/script-runner\/script-runner.jar",
"Args": [
"s3:\/\/us-east-1.elasticmapreduce\/libs\/hive\/0.4\/install-hive"
],
"Properties": [],
"MainClass": null
},
"ActionOnFailure": "TERMINATE_JOB_FLOW"
}
}
],
Probably the easiest fix is to leave alone job flows where the last step (and in most cases, the only step) isn't running the Hadoop streaming jar.
Not sure what happens if you try to run streaming jobs in a job flow where you're already running Hive. Going to try it!
from mrjob.
It looks like the streaming job works, until you run a Hive query, and that kills the streaming job. So they don't mix in any practical way.
So it looks like we should leave alone a job that has any non-streaming jar steps (since mrjob
will only run streaming steps)
from mrjob.
Huh, so here's what a Hadoop Debugging step looks like (which is compatible with hadoop streaming):
{
"ExecutionStatusDetail": {
"StartDateTime": null,
"EndDateTime": null,
"LastStateChangeReason": "Job terminated",
"CreationDateTime": 1285049200.0,
"State": "CANCELLED"
},
"StepConfig": {
"Name": "Setup Hadoop Debugging",
"HadoopJarStep": {
"Jar": "s3n:\/\/us-east-1.elasticmapreduce\/libs\/script-runner\/script-runner.jar",
"Args": [
"s3n:\/\/us-east-1.elasticmapreduce\/libs\/state-pusher\/0.1\/fetch"
],
"Properties": [],
"MainClass": null
},
"ActionOnFailure": "TERMINATE_JOB_FLOW"
}
},
I think I'll only leave alone job flows that have no hadoop streaming steps, since they're clearly not the purview of mrjob
.
from mrjob.
Fixed in dev, and heavily tested!
from mrjob.
Fixed in v0.2.0.
from mrjob.
Related Issues (20)
- upgrade boto3/botocore to support StepConcurrencyLevel HOT 2
- fetching progress from resource manager shouldn't rely on SSH tunnel
- progress indicators are wrong when steps run simultaneously HOT 1
- useless return value from make_pooled_cluster() in pooling tests
- pool_wait_minutes shouldn't wait if pool is empty
- add pool_timeout_minutes option
- add pool_jitter_seconds option HOT 1
- Error when running on hadoop "Found 2 unexpected arguments on the command line" HOT 1
- add_passthru_arg on hadoop
- It possible to prevent decompression and/or splitting in local or inline mode
- Can I write map and reduce in many different class?
- Assign tags on EMR creation in single API call
- ignore unrecognized arguments HOT 1
- code breaks locally but runs fine remotely on hadoop cluster HOT 2
- Hadoop counter in mrjob
- trying to run mr job python script
- Failure to run mrjob on dataproc
- total sort HOT 1
- Read Specific Column From csv file
- Python 3.12 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrjob.