Hi, Do you have Hadoop libs properly installed? Does "$ hadoop version" command run successfully? If true, then It sounds like some classpath issue...
2013/12/10 Manish Bhoge <manishbh...@rocketmail.com> > Sent from Rocket Mail via Android > > ------------------------------ > * From: * Manish Bhoge <manishbh...@rocketmail.com>; > * To: * u...@hadoop.apache.org <u...@hadoop.apache.org>; > * Cc: * user@hive.apache.org <user@hive.apache.org>; > * Bcc: * p...@pig.apache.org <p...@pig.apache.org>; > * Sent: * Mon, Dec 9, 2013 6:02:24 PM > > > My Hadoop cluster (Psuedo distributed) is up and running but when i run > hive shell it is giving me below error > >hive > manish@manish-bhoge:/usr/lib/hadoop$ hive > Error: Could not find or load main class > org.apache.hadoop.util.PlatformName > Error: Could not find or load main class org.apache.hadoop.util.VersionInfo > Unable to determine Hadoop version information. > 'hadoop version' returned: > Error: Could not find or load main class > org.apache.hadoop.util.PlatformName > Error: Could not find or load main class org.apache.hadoop.util.VersionInfo > > Can anyone please help me to fix version information and PlatformName. > "PlatformName" > error appear when i run PIG shell: > > >pig > Error: Could not find or load main class > org.apache.hadoop.util.PlatformName > > Suggest the fix for both Hive and PIG error. > > Thank You, > Manish. >