AnsweredAssumed Answered

MapR Installer Start Failed, Invalid User

Question asked by mapruser1244 on Oct 13, 2015
Latest reply on Oct 20, 2015 by shishirprakash
**When I ran the mapr-setup.sh script I got**

Testing connection to http://package.mapr.com/releases...

...Success

Testing for cluster admin account...

Enter MapR cluster admin user name ("q!" to quit) [mapr]: mapr

User 'mapr' does not exist. Creating new cluster admin account...

Enter 'mapr' uid ("q!" to quit) [5000]: 2000
Enter 'mapr' group name ("q!" to quit) [mapr]: mapr
Enter 'mapr' gid ("q!" to quit) [5000]: 2000
Enter 'mapr' password ("q!" to quit):
Confirm 'mapr' password ("q!" to quit):
...Success

Installing packages...

+======================================================================+
|      Error: JAVA_HOME is not set and Java could not be found         |
+----------------------------------------------------------------------+
| Hadoop requires Java 1.7 or later.                                   |
| NOTE: This script will find Oracle or Open JDK Java whether you      |
|       install using the binary or the RPM based installer.           |
+======================================================================+
Non-fatal POSTTRANS scriptlet failure in rpm package mapr-installer-1.1.201510051855-1.noarch

...Success

+======================================================================+
|      Error: JAVA_HOME is not set and Java could not be found         |
+----------------------------------------------------------------------+
| Hadoop requires Java 1.7 or later.                                   |
| NOTE: This script will find Oracle or Open JDK Java whether you      |
|       install using the binary or the RPM based installer.           |
+======================================================================+

ERROR: mapr-installer start failed:

**After this point, I updated java version and ran the script again and got following error. Does anyone how to fix it.**

Testing connection to http://package.mapr.com/releases...

...Success

Testing for cluster admin account...

Enter MapR cluster admin user name ("q!" to quit) [mapr]: mapr

User 'mapr' does not exist. Creating new cluster admin account...

Enter 'mapr' uid ("q!" to quit) [5000]: 2000
Enter 'mapr' group name ("q!" to quit) [mapr]: mapr
Enter 'mapr' gid ("q!" to quit) [5000]: 2000
Enter 'mapr' password ("q!" to quit):
Confirm 'mapr' password ("q!" to quit):
...Success

Installing packages...

+======================================================================+
|      Error: JAVA_HOME is not set and Java could not be found         |
+----------------------------------------------------------------------+
| Hadoop requires Java 1.7 or later.                                   |
| NOTE: This script will find Oracle or Open JDK Java whether you      |
|       install using the binary or the RPM based installer.           |
+======================================================================+
Non-fatal POSTTRANS scriptlet failure in rpm package mapr-installer-1.1.201510051855-1.noarch

...Success

+======================================================================+
|      Error: JAVA_HOME is not set and Java could not be found         |
+----------------------------------------------------------------------+
| Hadoop requires Java 1.7 or later.                                   |
| NOTE: This script will find Oracle or Open JDK Java whether you      |
|       install using the binary or the RPM based installer.           |
+======================================================================+

ERROR: mapr-installer start failed:

Outcomes