Skip to content

first DZ done - #4

Open
stanislav3316 wants to merge 3 commits into
polis-vk:masterfrom
stanislav3316:master
Open

first DZ done#4
stanislav3316 wants to merge 3 commits into
polis-vk:masterfrom
stanislav3316:master

Conversation

@stanislav3316

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown

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) {

Copy link
Copy Markdown

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()) {

@sergboec sergboec Dec 18, 2017

Copy link
Copy Markdown

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