Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Maven / POM setting for HDP 2.2

$
0
0

Hi Shahzad,

Add the Hortonworks maven nexus repository url in your parent pom.xml under repositories tag sample as below.

<repositories>
……..
……..
<repository>
<id>hortonworks</id>
<url>http://repo.hortonworks.com/content/repositories/releases/</url&gt;
</repository>
…….
…….
</repositories>

And, replace the version for the released jars (hadoop, hbase etc….) that is supposed to be used in the application development.

Recommendation would, check the component version from the installed cluster, and then verify in http://repo.hortonworks.com/content/repositories/releases/, just to make sure you are using the released version.

For example this will tell you the latest available version http://repo.hortonworks.com/content/repositories/releases/org/apache/hbase/hbase-common/ for hbase, now it’s up-to you which specific version you want to use.

Hope this will unblock you.

Regards
Ashish


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>