Skip to content

Conversation

@witgo
Copy link
Contributor

@witgo witgo commented May 3, 2014

This is a part of PR 590

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

pom.xml Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also remove these changes around restructuring the dependency locations? These need to be tested and verified separately.

Copy link
Contributor

Choose a reason for hiding this comment

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

Bascially what I want here is a ~10 to 15 line pull request we can verify and merge in quickly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not very good, otherwise the default value is 1.0.4

          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-client</artifactId>
            <version>1.0.4</version>
          </dependency>

Copy link
Contributor

Choose a reason for hiding this comment

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

What's the problem exactly? We don't ever rely on the default version here, right? If someone tries to build with -Pyarn but they don't set the hadoop version to be higher - the build can fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. but in mvn -Pyarn clean package, the hadoop version is 2.2.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leaving the dependency declarations as they are now, mvn -DskipTests clean package can not be executed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When hadop.version is 1.0.4 , yarn.version is also 1.0.4

  <dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-yarn-client</artifactId>
    <version>${yarn.version}</version>
  </dependency>     

is not correct, so mvn -DskipTests clean package can not be executed

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I see. I didn't understand what you were saying before. Is the issue just that the dependency resolution fails?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I'm sorry, my english is relatively bad.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pwendell
I tested the current environment ,when leaving the yarn dependency declarations as they are now,mvn -DskipTests clean package can work.I will restore modified.
I suggest to change back after 1.0 release

@pwendell
Copy link
Contributor

pwendell commented May 4, 2014

Great - thanks for paring this down. I can merge it. Let's look at cleaning this up once we ship 1.0.

@asfgit asfgit closed this in fb05432 May 4, 2014
@witgo witgo deleted the yarn_version branch May 4, 2014 08:57
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