h2o.init() started but still gives error in R. OK in python/flow

355 views
Skip to first unread message

syenji...@gmail.com

unread,
May 9, 2018, 8:52:14 PM5/9/18
to H2O Open Source Scalable Machine Learning - h2ostream
I'm a previous user of h2o and have had a fresh install on a new Macbook. The strange thing is it h2o.init() works for me on python. But in R, I can see it successfully initiated a cluster (verified via python or h2o flow) and the .err file is empty. At the end if got an error saying "H2O failed to start, stopping execution". Any idea what is wrong? The screen dump is below:

H2O is not running yet, starting it now...

Note: In case of errors look at the following log files:
/var/folders/3n/m8hyqd0j4w33vgvpck5p7hk4fpj23t/T//RtmpF58sey/h2o_cnwsn1_started_from_r.out
/var/folders/3n/m8hyqd0j4w33vgvpck5p7hk4fpj23t/T//RtmpF58sey/h2o_cnwsn1_started_from_r.err

java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

Starting H2O JVM and connecting: ............................................................Cannot load library from path lib/osx_64/libxgboost4j_gpu.dylib
Cannot load library from path lib/libxgboost4j_gpu.dylib
Failed to load library from both native path and jar!
Cannot load library from path lib/osx_64/libxgboost4j_omp.dylib
Cannot load library from path lib/libxgboost4j_omp.dylib
Failed to load library from both native path and jar!
05-10 12:46:20.367 127.0.0.1:56789 49259 main INFO: Found XGBoost backend with library: xgboost4j_minimal
05-10 12:46:20.376 127.0.0.1:56789 49259 main INFO: Your system supports only minimal version of XGBoost (no GPUs, no multithreading)!
05-10 12:46:20.376 127.0.0.1:56789 49259 main INFO: ----- H2O started -----
05-10 12:46:20.376 127.0.0.1:56789 49259 main INFO: Build git branch: rel-wolpert
05-10 12:46:20.376 127.0.0.1:56789 49259 main INFO: Build git hash: 8ade75f39502a5846240e8b68b4d1d5d64605525
05-10 12:46:20.376 127.0.0.1:56789 49259 main INFO: Build git describe: jenkins-3.18.0.7-5-g8ade75f
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Build project version: 3.18.0.8 (latest version: 3.18.0.8)
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Build age: 20 days
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Built by: 'jenkins'
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Built on: '2018-04-19 17:47:21'
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Watchdog Build git branch: (unknown)
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Watchdog Build git hash: (unknown)
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Watchdog Build git describe: (unknown)
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Watchdog Build project version: (unknown)
05-10 12:46:20.377 127.0.0.1:56789 49259 main INFO: Watchdog Built by: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: Watchdog Built on: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Build git branch: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Build git hash: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Build git describe: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Build project version: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Built by: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: XGBoost Built on: (unknown)
05-10 12:46:20.378 127.0.0.1:56789 49259 main INFO: KrbStandalone Build git branch: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: KrbStandalone Build git hash: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: KrbStandalone Build git describe: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: KrbStandalone Build project version: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: KrbStandalone Built by: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: KrbStandalone Built on: (unknown)
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: Processed H2O arguments: [-name, H2O_started_from_R_cnwsn1_bgq227, -ip, localhost, -port, 56789, -ice_root, /var/folders/3n/m8hyqd0j4w33vgvpck5p7hk4fpj23t/T//RtmpF58sey]
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: Java availableProcessors: 8
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: Java heap totalMemory: 245.5 MB
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: Java heap maxMemory: 3.56 GB
05-10 12:46:20.379 127.0.0.1:56789 49259 main INFO: Java version: Java 1.8.0_171 (from Oracle Corporation)
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: JVM launch parameters: [-ea]
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: OS version: Mac OS X 10.13.4 (x86_64)
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: Machine physical memory: 16.00 GB
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: X-h2o-cluster-id: 1525913179123
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: User name: 'cnwsn1'
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: Opted out of sending usage metrics.
05-10 12:46:20.380 127.0.0.1:56789 49259 main INFO: IPv6 stack selected: false
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Network address/interface is not reachable in 150ms: /fe80:0:0:0:1c3:6fbc:94e1:aca7%utun0/name:utun0 (utun0)
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Network address/interface is not reachable in 150ms: /fe80:0:0:0:aede:48ff:fe00:1122%en5/name:en5 (en5)
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: en8 (en8), 2405:9400:8f60:8000:1c94:f0a9:1152:501d%en8
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: en8 (en8), 2405:9400:8f60:8000:46:939f:145e:8904%en8
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: en8 (en8), fe80:0:0:0:4b:b702:e98e:9d90%en8
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: en8 (en8), 143.96.130.120
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: lo0 (lo0), fe80:0:0:0:0:0:0:1%lo0
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: lo0 (lo0), 0:0:0:0:0:0:0:1%lo0
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: Possible IP Address: lo0 (lo0), 127.0.0.1
05-10 12:46:20.381 127.0.0.1:56789 49259 main INFO: H2O node running in unencrypted mode.
05-10 12:46:20.388 127.0.0.1:56789 49259 main INFO: Internal communication uses port: 56790
05-10 12:46:20.388 127.0.0.1:56789 49259 main INFO: Listening for HTTP and REST traffic on http://127.0.0.1:56789/
05-10 12:46:20.390 127.0.0.1:56789 49259 main INFO: H2O cloud name: 'H2O_started_from_R_cnwsn1_bgq227' on localhost/127.0.0.1:56789, static configuration based on -flatfile null
05-10 12:46:20.390 127.0.0.1:56789 49259 main INFO: If you have trouble connecting, try SSH tunneling from your local machine (e.g., via port 55555):
05-10 12:46:20.390 127.0.0.1:56789 49259 main INFO: 1. Open a terminal and run 'ssh -L 55555:localhost:56789 cnw...@127.0.0.1'
05-10 12:46:20.390 127.0.0.1:56789 49259 main INFO: 2. Point your browser to http://localhost:55555
05-10 12:46:20.506 127.0.0.1:56789 49259 main INFO: Log dir: '/var/folders/3n/m8hyqd0j4w33vgvpck5p7hk4fpj23t/T/RtmpF58sey/h2ologs'
05-10 12:46:20.506 127.0.0.1:56789 49259 main INFO: Cur dir: '/Users/cnwsn1'
05-10 12:46:20.509 127.0.0.1:56789 49259 main INFO: HDFS subsystem successfully initialized
05-10 12:46:20.512 127.0.0.1:56789 49259 main INFO: S3 subsystem successfully initialized
05-10 12:46:20.512 127.0.0.1:56789 49259 main INFO: Flow dir: '/Users/cnwsn1/h2oflows'
05-10 12:46:20.525 127.0.0.1:56789 49259 main INFO: Cloud of size 1 formed [localhost/127.0.0.1:56789]
05-10 12:46:20.532 127.0.0.1:56789 49259 main INFO: Registered parsers: [GUESS, ARFF, XLS, SVMLight, AVRO, PARQUET, CSV]
05-10 12:46:20.532 127.0.0.1:56789 49259 main INFO: Watchdog extension initialized
05-10 12:46:20.533 127.0.0.1:56789 49259 main INFO: XGBoost extension initialized
05-10 12:46:20.533 127.0.0.1:56789 49259 main INFO: KrbStandalone extension initialized
05-10 12:46:20.533 127.0.0.1:56789 49259 main INFO: Registered 3 core extensions in: 73ms
05-10 12:46:20.533 127.0.0.1:56789 49259 main INFO: Registered H2O core extensions: [Watchdog, XGBoost, KrbStandalone]
05-10 12:46:20.739 127.0.0.1:56789 49259 main INFO: Registered: 165 REST APIs in: 206ms
05-10 12:46:20.739 127.0.0.1:56789 49259 main INFO: Registered REST API extensions: [XGBoost, Algos, AutoML, Core V3, Core V4]
05-10 12:46:20.838 127.0.0.1:56789 49259 main INFO: Registered: 235 schemas in 99ms
05-10 12:46:20.838 127.0.0.1:56789 49259 main INFO: H2O started in 1710ms
05-10 12:46:20.838 127.0.0.1:56789 49259 main INFO:
05-10 12:46:20.838 127.0.0.1:56789 49259 main INFO: Open H2O Flow in your web browser: http://127.0.0.1:56789
05-10 12:46:20.839 127.0.0.1:56789 49259 main INFO:
[1] "localhost"
[1] 56789
[1] FALSE
[1] 403
[1] ""
% Total % Received % Xferd Average Speed Time Time <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: The requested URL could not be retrieved</title>
<style type="text/css"><!--
/*
Stylesheet for Squid Error pages
Adapted from design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

/* Page basics */
* {
font-family: verdana, sans-serif;
}

html body {
margin: 0;
padding: 0;
background: #efefef;
font-size: 12px;
color: #1e1e1e;
}

/* Page displayed title area */
#titles {
margin-left: 15px;
padding: 10px;
padding-left: 100px;
background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
}

/* initial title */
#titles h1 {
color: #000000;
}
#titles h2 {
color: #000000;
}

/* special event: FTP success page titles */
#titles ftpsuccess {
background-color:#00ff00;
width:100%;
}

/* Page displayed body content area */
#content {
padding: 10px;
background: #ffffff;
}

/* General text */
p {
}

/* error brief description */
#error p {
}

/* some data which may have caused the problem */
#data {
}

/* the error message received from the system or other software */
#sysmsg {
}

pre {
font-family:sans-serif;
}

/* special event: FTP / Gopher directory listing */
#dirmsg {
font-family: courier;
color: black;
font-size: 10pt;
}
#dirlisting {
margin-left: 2%;
margin-right: 2%;
}
#dirlisting tr.entry td.icon,td.filename,td.size,td.date {
border-bottom: groove;
}
#dirlisting td.size {
width: 50px;
text-align: right;
padding-right: 5px;
}

/* horizontal lines */
hr {
margin: 0;
}

/* page displayed footer area */
#footer {
font-size: 9px;
padding-left: 10px;
}


body
:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
:lang(he) { direction: rtl; }
--></style>
</head><body id=ERR_ACCESS_DENIED>
<div id="titles">
<h1>ERROR</h1>
100 3278 100 3278 0 0 456k 0 --:--:-- --:--:-- --:--:-- 533k-:-- --:--:-- 0
[1] 0
Error in h2o.init(port = 56789) :
H2O failed to start, stopping execution.
RL could not be retrieved</h2>
</div>
<hr>

<div id="content">
<p>The following error was encountered while trying to retrieve the URL: <a href="http://localhost:54321/">http://localhost:54321/</a></p>

<blockquote id="error">
<p><b>Access Denied.</b></p>
</blockquote>

<p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p>

</div>

<hr>
<div id="footer">
<p>Generated Thu, 10 May 2018 00:47:23 GMT by aorchcf08.aor.co.nz (squid/3.1.23)</p>
<!-- ERR_ACCESS_DENIED -->
</div>
</body></html>

Darren Cook

unread,
May 9, 2018, 9:36:15 PM5/9/18
to h2os...@googlegroups.com
> I'm a previous user of h2o and have had a fresh install on a new
> Macbook. The strange thing is it h2o.init() works for me on python.
> But in R, ...

You are starting on port 56789. Is that deliberate, and is that what you
have been using from Python? Does the default port (54321) work from R?

Darren



--
Darren Cook, Software Researcher/Developer
My New Book: Practical Machine Learning with H2O:
http://shop.oreilly.com/product/0636920053170.do

syenji...@gmail.com

unread,
May 9, 2018, 10:45:57 PM5/9/18
to H2O Open Source Scalable Machine Learning - h2ostream
Yes it was deliberate for that instance after 54321 giving me the same error.

sn...@jadeworld.com

unread,
May 10, 2018, 12:16:18 AM5/10/18
to H2O Open Source Scalable Machine Learning - h2ostream
Looks like the proxy settings in my .Renviron is messing things up. Removed it and it works fine.

saadsa...@gmail.com

unread,
Jan 14, 2019, 2:27:44 PM1/14/19
to H2O Open Source Scalable Machine Learning - h2ostream

Hello Can you please tell how you solved the problem. I'm having the same problem

laurend

unread,
Jan 14, 2019, 2:46:37 PM1/14/19
to H2O Open Source Scalable Machine Learning - h2ostream
Please post the details of how you are starting your sessions and your error message, because they may be different from the original poster. Pleas also let us know if you tried the solution that was previously posted.

Thanks! 

- lauren

On Monday, January 14, 2019 at 12:27:44 PM UTC-7, xxxx wrote:
Reply all
Reply to author
Forward
0 new messages