Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first DZ done #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

stanislav3316
Copy link

не смог запустить на архиве, не хватает места на диске ;(

*/
public class WordCountJob extends Configured implements Tool {
public int run(String[] strings) throws Exception {
Job job = new Job(getConf(), "WordCount");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job считается deprecated. Почему использовали его?

try {
int exitCode = ToolRunner.run(new WordCountJob(), args);
System.exit(exitCode);
} catch (Exception e) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

throws IOException, InterruptedException {
StringTokenizer st = new StringTokenizer(value.toString());

while (st.hasMoreTokens()) {
Copy link

@sergboec sergboec Dec 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

никакого to_uppercase или to_lowercase нам не надо? или ещё чего-нибудь такого?

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.

3 participants