AnsweredAssumed Answered

How to connect MapR Client to MapR in Virtualbox Sandbox Env.

Question asked by yordannedelchev on Jun 26, 2017
Latest reply on Jun 28, 2017 by maprcommunity



How can I configure mapr-client installed on my Windows workstation to connect to the MapR Sandbox environment (using Virtualbox) ? 


What I do is:


  1. Start the MapE Sandbox in a Virtualbox running on my Windows workstation.
  2. Set JAVA_HOME and make sure it does not contain spaces.

        C:\opt\mapr\server>echo %JAVA_HOME%

  3. set MAPR_HOME and make sure, it does not contain spaces.
    C:\opt\mapr\server>echo %MAPR_HOME%
  4. On my workstation run the configure script as follows:
    configure.bat -N -c -C
  5. Then I start my custom Java Application that is trying to connect to MapR via MapR Client and it fails with
    {"@timestamp":"2017-06-26T10:37:02.728+00:00","correlationId":"System","guid":"System","thread":"main","severity":"WARN","class":"org.apache.hadoop.util.NativeCodeLoader","lineNum":"?","message":"Unable to load native-hadoop library for your platform... using builtin-java classes where applicable"}
    2017-06-26 13:37:06,4301 Some error on socket 2068
    2017-06-26 13:37:07,4377 Some error on socket 2068
    2017-06-26 13:37:08,4403 Some error on socket 2072
  6. 2017-06-23 18:45:56,5421 ERROR Cidcache fs/client/fileclient/cc/ Thread: 15760 MoveToNextCldb: No CLDB entries, cannot run, sleeping 5 seconds!
    2017-06-23 18:46:01,5469 ERROR Client fs/client/fileclient/cc/ Thread: 15760 Failed to initialize client for cluster, error Cannot send after transport endpoint shutdown(108)
  7. After a second the Java Virtual Machine also crashes with Assertion failed!


Assertion failed!


Program: C:\jdk1.8.0_121\bin\java.exe

File: fs\common\windows\

Line: 93


Expression: value_ptr == NULL


For information on how your program can cause an assertion

failure, see the Visual C++ documentation on asserts


(Press Retry to debug the application - JIT must be enabled)


I am not really sure where to start troubleshooting?

How to test connectivity without using my own java program?


Is there anywhere already a document describing how to connect MapR Client to MapR cluster in Sandbox env?


Please advise.


Best Regards