Skip to content

Conversation

SahilKang
Copy link

Since StandardCharsets makes converting between (utf-8) bytes and strings
trivial, let's remove the methods:
- org.apache.hadoop.hdfs.DFSUtilClient.bytes2String
- org.apache.hadoop.hdfs.DFSUtilClient.string2Bytes

Use String.getBytes(StandardCharsets.UTF_8) instead of String.getBytes(String).
Uppercased `newline' since it's a constant, and
made line lengths no more than 80 chars.
Since StandardCharsets makes converting between (utf-8) bytes and strings
trivial, let's remove the methods:
    - org.apache.hadoop.hdfs.DFSUtilClient.bytes2String
    - org.apache.hadoop.hdfs.DFSUtilClient.string2Bytes
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
1. The ClientHelper now checks inactive application IDs so it can get status for terminated jobs in addition to running jobs
2. JobRunner.kill() waits for any finish, not just successful finish.
3. A killed job is now considered successful.

Author: Jacob Maes <[email protected]>

Reviewers: Prateek Maheshwari <[email protected]>

Closes apache#152 from jmakes/samza-1250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant