Friday, September 15, 2017

Missing Artifact JDK Tools Jar

While building hadoop application, you may get below error

 

Missing Artifact JDK Tools Jar


Problem is, hadoop system couldn't find the java tools. to resolve this issue, you have need to add java path in the pom file



    <dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7.0_05</version>
<scope>system</scope>
<systemPath>C:\ProgramFiles\Java\jdk1.8.0_121\lib\tools.jar</systemPath>
 </dependency>

Friday, September 1, 2017

Get started with HDP 2.6

Follow the below points to get started with hortonworks data platform 2.6

1.download HDP 2.6
2.add it to Vmware
3.play the virtual machine
4.By default, you can use root/hadoop credential in order to connect
5.at this point, you want to connect to ambari, it will fail to connect.saying username/pwd wrong.
6. to resolve above point, go to virtual machine , run below command
      $ssh root@127.0.0.1 -p 2222
   
      above cmd will ask you to change pwd . do so.

      once this is done , run below cmd as well
      $ ambari-admin-password-reset

      this will also ask to enter new password

      once you entered password , then ambari server will restart.

      now you can connect from web url.