# JAVA version problem

**URL:** <https://discuss.hail.is/t/java-version-problem/3987>\
**Category:** Hail Query & hailctl\
**Created:** [November 8, 2024, 5:48pm UTC](https://discuss.hail.is/t/java-version-problem/3987 "2024-11-08T17:48:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joonho\_Kim](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/joonho_kim/32/1208_2.png) [@Joonho\_Kim](https://discuss.hail.is/u/Joonho_Kim)\
**Post date:** [November 8, 2024, 5:48pm UTC](https://discuss.hail.is/t/java-version-problem/3987/1 "2024-11-08T17:48:27Z")

</div>

Hello,

I installed the hail according to the guideline, JAVA version 11.  
java-11-openjdk.x86\_64 (/usr/lib/jvm/java-11-openjdk-11.0.8.10-0.el7\_8.x86\_64/bin/java)  
However, some of functions are not working as example below.  
I would like to ask you how to solve this problem.

Thanks

> > > logistic = hl.logistic\_regression\_rows(x=mt\_pheno.DS, y=mt\_pheno.pheno.CASE, covariates=[1.0, mt\_pheno.pheno.AGE], test=‘wald’)

2024-11-09 02:34:27.866 Hail: INFO: logistic\_regression\_rows: running wald on 504 samples for response variable y,  
with input variable x, and 2 additional covariates…  
/home/joonho345/.jenv/versions/11.0.8/bin/java: symbol lookup error: /tmp/jniloader6572155367366312789netlib-native\_system-linux-x86\_64.so: undefined symbol: cblas\_dgemv  
Traceback (most recent call last):  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 716, in urlopen  
httplib\_response = self.\_make\_request(  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 468, in \_make\_request  
six.raise\_from(e, None)  
File “”, line 3, in raise\_from  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 463, in \_make\_request  
httplib\_response = conn.getresponse()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 1377, in getresponse  
response.begin()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 320, in begin  
version, status, reason = self.\_read\_status()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 289, in \_read\_status  
raise RemoteDisconnected(“Remote end closed connection without”  
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/requests/adapters.py”, line 667, in send  
resp = conn.urlopen(  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 802, in urlopen  
retries = retries.increment(  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/util/retry.py”, line 552, in increment  
raise six.reraise(type(error), error, \_stacktrace)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/packages/six.py”, line 769, in reraise  
raise value.with\_traceback(tb)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 716, in urlopen  
httplib\_response = self.\_make\_request(  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 468, in \_make\_request  
six.raise\_from(e, None)  
File “”, line 3, in raise\_from  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/urllib3/connectionpool.py”, line 463, in \_make\_request  
httplib\_response = conn.getresponse()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 1377, in getresponse  
response.begin()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 320, in begin  
version, status, reason = self.\_read\_status()  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/http/client.py”, line 289, in \_read\_status  
raise RemoteDisconnected(“Remote end closed connection without”  
urllib3.exceptions.ProtocolError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “”, line 1, in   
File “”, line 2, in logistic\_regression\_rows  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/typecheck/check.py”, line 585, in wrapper  
return _original\_func(\*args, \*\*kwargs_)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/methods/statgen.py”, line 1025, in logistic\_regression\_rows  
return result.persist()  
File “”, line 2, in persist  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/typecheck/check.py”, line 585, in wrapper  
return _original\_func(\*args, \*\*kwargs_)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/table.py”, line 2761, in persist  
return Env.backend().persist(self)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/backend/backend.py”, line 292, in persist  
persisted = dataset.checkpoint(tempfile. **enter** ())  
File “”, line 2, in checkpoint  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/typecheck/check.py”, line 585, in wrapper  
return _original\_func(\*args, \*\*kwargs_)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/table.py”, line 1963, in checkpoint  
self.write(output=output, overwrite=overwrite, stage\_locally=stage\_locally, \_codec\_spec=\_codec\_spec)  
File “”, line 2, in write  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/typecheck/check.py”, line 585, in wrapper  
return _original\_func(\*args, \*\*kwargs_)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/table.py”, line 2005, in write  
Env.backend().execute(  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/backend/spark\_backend.py”, line 217, in execute  
raise err  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/backend/spark\_backend.py”, line 209, in execute  
return super().execute(ir, timed)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/backend/backend.py”, line 179, in execute  
result, timings = self.\_rpc(ActionTag.EXECUTE, payload)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/hail/backend/py4j\_backend.py”, line 218, in \_rpc  
resp = self.\_requests\_session.post(f’[http://localhost](http://localhost):{port}{path}', data=data)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/requests/sessions.py”, line 637, in post  
return self.request(“POST”, url, data=data, json=json, \*\*kwargs)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/requests/sessions.py”, line 589, in request  
resp = self.send(prep, \*\*send\_kwargs)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/requests/sessions.py”, line 703, in send  
r = adapter.send(request, \*\*kwargs)  
File “/home/joonho345/miniconda3/envs/hail\_env/lib/python3.9/site-packages/requests/adapters.py”, line 682, in send  
raise ConnectionError(err, request=request)  
requests.exceptions.ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

---

<div class="post-metadata">

**Author:** ![ehigham](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/ehigham/32/943_2.png) [@ehigham](https://discuss.hail.is/u/ehigham)\
**Post date:** [November 8, 2024, 5:53pm UTC](https://discuss.hail.is/t/java-version-problem/3987/2 "2024-11-08T17:53:49Z")

</div>

Hi @Joonho_Kim,  
Sadly that error doesn’t tell us much (and by no fault of your own).  
After installing jdk-11, are you setting the environment variable JAVA\_HOME?  
Do you have any other java installations on your computer? (what’s the output of `java --version`?)  
Can you run any simple hail commands, such as:

```python
hl.init()
hl.utils.range_table(10)._force_count()

```

---

<div class="post-metadata">

**Author:** ![Joonho\_Kim](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/joonho_kim/32/1208_2.png) [@Joonho\_Kim](https://discuss.hail.is/u/Joonho_Kim)\
**Post date:** [November 9, 2024, 1:19am UTC](https://discuss.hail.is/t/java-version-problem/3987/3 "2024-11-09T01:19:03Z")

</div>

Hi ehigham,

I appreciate your answer. This is the verision of java  
(base) [joonho345@compute04 ~]$ java --version  
openjdk 11.0.8 2020-07-14 LTS  
OpenJDK Runtime Environment 18.9 (build 11.0.8+10-LTS)  
OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode, sharing)

I created the conda env for hail and these are the packages installed

(hail\_env) [joonho345@compute04 ~]$ conda list

# packages in environment at /home/joonho345/miniconda3/envs/hail\_env:

# 

# Name Version Build Channel

\_libgcc\_mutex 0.1 conda\_forge conda-forge  
\_openmp\_mutex 4.5 2\_kmp\_llvm conda-forge  
\_sysroot\_linux-64\_curr\_repodata\_hack 3 h69a702a\_16 conda-forge  
aiodns 2.0.0 pypi\_0 pypi  
aiohappyeyeballs 2.4.0 pypi\_0 pypi  
aiohttp 3.10.5 pypi\_0 pypi  
aiosignal 1.3.1 pypi\_0 pypi  
alsa-lib 1.2.12 h4ab18f5\_0 conda-forge  
async-timeout 4.0.3 pypi\_0 pypi  
attrs 24.2.0 pypi\_0 pypi  
avro 1.11.3 pypi\_0 pypi  
azure-common 1.1.28 pypi\_0 pypi  
azure-core 1.30.2 pypi\_0 pypi  
azure-identity 1.17.1 pypi\_0 pypi  
azure-mgmt-core 1.4.0 pypi\_0 pypi  
azure-mgmt-storage 20.1.0 pypi\_0 pypi  
azure-storage-blob 12.22.0 pypi\_0 pypi  
binutils\_impl\_linux-64 2.40 ha1999f0\_7 conda-forge  
binutils\_linux-64 2.40 hb3c18ed\_4 conda-forge  
blas 2.123 openblas conda-forge  
blas-devel 3.9.0 23\_linux64\_openblas conda-forge  
bokeh 3.3.4 pypi\_0 pypi  
boto3 1.35.10 pypi\_0 pypi  
botocore 1.35.10 pypi\_0 pypi  
bzip2 1.0.8 h4bc722e\_7 conda-forge  
ca-certificates 2024.8.30 hbcca054\_0 conda-forge  
cachetools 5.5.0 pypi\_0 pypi  
cairo 1.18.0 hebfffa5\_3 conda-forge  
certifi 2024.8.30 pypi\_0 pypi  
cffi 1.17.0 pypi\_0 pypi  
charset-normalizer 3.3.2 pypi\_0 pypi  
click 8.1.7 pypi\_0 pypi  
commonmark 0.9.1 pypi\_0 pypi  
contourpy 1.3.0 pypi\_0 pypi  
cryptography 43.0.0 pypi\_0 pypi  
decorator 4.4.2 pypi\_0 pypi  
deprecated 1.2.14 pypi\_0 pypi  
dill 0.3.8 pypi\_0 pypi  
expat 2.6.2 h59595ed\_0 conda-forge  
font-ttf-dejavu-sans-mono 2.37 hab24e00\_0 conda-forge  
font-ttf-inconsolata 3.000 h77eed37\_0 conda-forge  
font-ttf-source-code-pro 2.038 h77eed37\_0 conda-forge  
font-ttf-ubuntu 0.83 h77eed37\_2 conda-forge  
fontconfig 2.14.2 h14ed4e7\_0 conda-forge  
fonts-conda-ecosystem 1 0 conda-forge  
fonts-conda-forge 1 0 conda-forge  
freetype 2.12.1 h267a509\_2 conda-forge  
frozenlist 1.4.1 pypi\_0 pypi  
gcc\_impl\_linux-64 11.4.0 h00c12a0\_13 conda-forge  
gcc\_linux-64 11.4.0 ha077dfb\_4 conda-forge  
giflib 5.2.2 hd590300\_0 conda-forge  
google-auth 2.34.0 pypi\_0 pypi  
google-auth-oauthlib 0.8.0 pypi\_0 pypi  
graphite2 1.3.13 h59595ed\_1003 conda-forge  
gxx\_impl\_linux-64 11.4.0 h634f3ee\_13 conda-forge  
gxx\_linux-64 11.4.0 h35bfe5d\_4 conda-forge  
hail 0.2.132 pypi\_0 pypi  
harfbuzz 9.0.0 hda332d3\_1 conda-forge  
humanize 1.1.0 pypi\_0 pypi  
icu 75.1 he02047a\_0 conda-forge  
idna 3.8 pypi\_0 pypi  
isodate 0.6.1 pypi\_0 pypi  
janus 1.0.0 pypi\_0 pypi  
jinja2 3.1.4 pypi\_0 pypi  
jmespath 1.0.1 pypi\_0 pypi  
jproperties 2.1.2 pypi\_0 pypi  
kernel-headers\_linux-64 3.10.0 h4a8ded7\_16 conda-forge  
keyutils 1.6.1 h166bdaf\_0 conda-forge  
krb5 1.21.3 h659f571\_0 conda-forge  
lapack 3.9.0 netlib conda-forge  
lcms2 2.16 hb7c19ff\_0 conda-forge  
ld\_impl\_linux-64 2.40 hf3520f5\_7 conda-forge  
lerc 4.0.0 h27087fc\_0 conda-forge  
libblas 3.9.0 23\_linux64\_openblas conda-forge  
libcblas 3.9.0 23\_linux64\_openblas conda-forge  
libcups 2.3.3 h4637d8d\_4 conda-forge  
libdeflate 1.21 h4bc722e\_0 conda-forge  
libedit 3.1.20191231 he28a2e2\_2 conda-forge  
libexpat 2.6.2 h59595ed\_0 conda-forge  
libffi 3.4.4 h6a678d5\_1  
libgcc 14.1.0 h77fa898\_1 conda-forge  
libgcc-devel\_linux-64 11.4.0 h8f596e0\_113 conda-forge  
libgcc-ng 14.1.0 h69a702a\_1 conda-forge  
libgfortran 14.1.0 h69a702a\_1 conda-forge  
libgfortran-ng 14.1.0 h69a702a\_1 conda-forge  
libgfortran5 14.1.0 hc5f4f2c\_1 conda-forge  
libglib 2.80.3 h315aac3\_2 conda-forge  
libgomp 14.1.0 h77fa898\_1 conda-forge  
libiconv 1.17 hd590300\_2 conda-forge  
libjpeg-turbo 3.0.0 hd590300\_1 conda-forge  
liblapack 3.9.0 23\_linux64\_openblas conda-forge  
liblapacke 3.9.0 23\_linux64\_openblas conda-forge  
libnsl 2.0.1 hd590300\_0 conda-forge  
libopenblas 0.3.27 pthreads\_hac2b453\_1 conda-forge  
libpng 1.6.43 h2797004\_0 conda-forge  
libsanitizer 11.4.0 h5763a12\_13 conda-forge  
libsqlite 3.45.2 h2797004\_0 conda-forge  
libstdcxx 14.1.0 hc0a3c3a\_1 conda-forge  
libstdcxx-devel\_linux-64 11.4.0 h8f596e0\_113 conda-forge  
libstdcxx-ng 14.1.0 h4852527\_1 conda-forge  
libtiff 4.6.0 h46a8edc\_4 conda-forge  
libuuid 2.38.1 h0b41bf4\_0 conda-forge  
libwebp-base 1.4.0 hd590300\_0 conda-forge  
libxcb 1.16 hb9d3cd8\_1 conda-forge  
libxcrypt 4.4.36 hd590300\_1 conda-forge  
libzlib 1.3.1 h4ab18f5\_1 conda-forge  
llvm-openmp 18.1.8 hf5423f3\_1 conda-forge  
markupsafe 2.1.5 pypi\_0 pypi  
msal 1.30.0 pypi\_0 pypi  
msal-extensions 1.2.0 pypi\_0 pypi  
msrest 0.7.1 pypi\_0 pypi  
multidict 6.0.5 pypi\_0 pypi  
ncurses 6.4 h6a678d5\_0  
nest-asyncio 1.6.0 pypi\_0 pypi  
numpy 1.26.4 pypi\_0 pypi  
oauthlib 3.2.2 pypi\_0 pypi  
openblas 0.3.27 pthreads\_h9eca1d5\_1 conda-forge  
openjdk 11.0.23 h38bd402\_1 conda-forge  
openssl 3.3.1 hb9d3cd8\_3 conda-forge  
orjson 3.10.7 pypi\_0 pypi  
packaging 24.1 pypi\_0 pypi  
pandas 2.2.2 pypi\_0 pypi  
parsimonious 0.10.0 pypi\_0 pypi  
pcre2 10.44 hba22ea6\_2 conda-forge  
pillow 10.4.0 pypi\_0 pypi  
pip 24.2 py39h06a4308\_0  
pixman 0.43.2 h59595ed\_0 conda-forge  
plotly 5.24.0 pypi\_0 pypi  
portalocker 2.10.1 pypi\_0 pypi  
protobuf 3.20.2 pypi\_0 pypi  
pthread-stubs 0.4 h36c2ea0\_1001 conda-forge  
py4j 0.10.9.7 pypi\_0 pypi  
pyasn1 0.6.0 pypi\_0 pypi  
pyasn1-modules 0.4.0 pypi\_0 pypi  
pycares 4.4.0 pypi\_0 pypi  
pycparser 2.22 pypi\_0 pypi  
pygments 2.18.0 pypi\_0 pypi  
pyjwt 2.9.0 pypi\_0 pypi  
pyspark 3.5.2 pypi\_0 pypi  
python 3.9.18 h0755675\_1\_cpython conda-forge  
python-dateutil 2.9.0.post0 pypi\_0 pypi  
python-json-logger 2.0.7 pypi\_0 pypi  
pytz 2024.1 pypi\_0 pypi  
pyyaml 6.0.2 pypi\_0 pypi  
readline 8.2 h5eee18b\_0  
regex 2024.7.24 pypi\_0 pypi  
requests 2.32.3 pypi\_0 pypi  
requests-oauthlib 2.0.0 pypi\_0 pypi  
rich 12.6.0 pypi\_0 pypi  
rsa 4.9 pypi\_0 pypi  
s3transfer 0.10.2 pypi\_0 pypi  
scipy 1.11.4 pypi\_0 pypi  
setuptools 72.1.0 py39h06a4308\_0  
shellingham 1.5.4 pypi\_0 pypi  
six 1.16.0 pypi\_0 pypi  
sortedcontainers 2.4.0 pypi\_0 pypi  
sqlite 3.45.2 h2c6b66d\_0 conda-forge  
sysroot\_linux-64 2.17 h4a8ded7\_16 conda-forge  
tabulate 0.9.0 pypi\_0 pypi  
tenacity 9.0.0 pypi\_0 pypi  
tk 8.6.13 noxft\_h4845f30\_101 conda-forge  
tornado 6.4.1 pypi\_0 pypi  
typer 0.12.5 pypi\_0 pypi  
typing-extensions 4.12.2 pypi\_0 pypi  
tzdata 2024.1 pypi\_0 pypi  
urllib3 1.26.20 pypi\_0 pypi  
uvloop 0.20.0 pypi\_0 pypi  
wheel 0.43.0 py39h06a4308\_0  
wrapt 1.16.0 pypi\_0 pypi  
xorg-fixesproto 5.0 h7f98852\_1002 conda-forge  
xorg-inputproto 2.3.2 h7f98852\_1002 conda-forge  
xorg-kbproto 1.0.7 h7f98852\_1002 conda-forge  
xorg-libice 1.1.1 hd590300\_0 conda-forge  
xorg-libsm 1.2.4 h7391055\_0 conda-forge  
xorg-libx11 1.8.9 hb711507\_1 conda-forge  
xorg-libxau 1.0.11 hd590300\_0 conda-forge  
xorg-libxdmcp 1.1.3 h7f98852\_0 conda-forge  
xorg-libxext 1.3.4 h0b41bf4\_2 conda-forge  
xorg-libxfixes 5.0.3 h7f98852\_1004 conda-forge  
xorg-libxi 1.7.10 h4bc722e\_1 conda-forge  
xorg-libxrender 0.9.11 hd590300\_0 conda-forge  
xorg-libxt 1.3.0 hd590300\_1 conda-forge  
xorg-libxtst 1.2.5 h4bc722e\_0 conda-forge  
xorg-recordproto 1.14.2 h7f98852\_1002 conda-forge  
xorg-renderproto 0.11.1 h7f98852\_1002 conda-forge  
xorg-xextproto 7.3.0 h0b41bf4\_1003 conda-forge  
xorg-xproto 7.0.31 h7f98852\_1007 conda-forge  
xyzservices 2024.6.0 pypi\_0 pypi  
xz 5.4.6 h5eee18b\_1  
yarl 1.9.7 pypi\_0 pypi  
zlib 1.3.1 h4ab18f5\_1 conda-forge  
zstd 1.5.6 ha6fb4c9\_0 conda-forge

those commands seems runnable, but some functions are not working like the one that I uploaded.

> > > import hail as hl  
> > > hl.init()  
> > > SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.  
> > > SLF4J: Defaulting to no-operation (NOP) logger implementation  
> > > Running on Apache Spark version 3.5.2  
> > > SparkUI available at [http://compute04:4040](http://compute04:4040)  
> > > Welcome to  
> > > \_\_ \_\_ \<\>\_\_  
> > > / /_/ /\_\_ \_\_/ /  
> > > / \_\_ / \_ `/ / /  
> > > /_/ /_/\_,_/_/_/ version 0.2.132-678e1f52b999  
> > > LOGGING: writing to /home/joonho345/hail-20241109-1013-0.2.132-678e1f52b999.log  
> > > hl.utils.range\_table(10).\_force\_count()  
> > > SLF4J: Failed to load class “org.slf4j.impl.StaticMDCBinder”.  
> > > SLF4J: Defaulting to no-operation MDCAdapter implementation.  
> > > 10tage 0:\> (0 + 10) / 10]

---

<div class="post-metadata">

**Author:** ![ehigham](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/ehigham/32/943_2.png) [@ehigham](https://discuss.hail.is/u/ehigham)\
**Post date:** [November 9, 2024, 3:43pm UTC](https://discuss.hail.is/t/java-version-problem/3987/4 "2024-11-09T15:43:19Z")

</div>

Thanks for your detailed reply. That all looks fine so I think this isn’t an installation issue.  
It’s hard to know what’s the issue without seeing the logfile hail writes on your current directory. The error message isn’t particularly insightful. If you have the log, could you provide it?  
That said, I’ve seen those kind of errors when the spark driver runs out of memory and dies silently. You could try increasing your JVM heap memory and seeing if that helps.

---

<div class="post-metadata">

**Author:** ![Joonho\_Kim](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/joonho_kim/32/1208_2.png) [@Joonho\_Kim](https://discuss.hail.is/u/Joonho_Kim)\
**Post date:** [November 15, 2024, 9:04pm UTC](https://discuss.hail.is/t/java-version-problem/3987/5 "2024-11-15T21:04:48Z")

</div>

Thanks for you considerable answer. I provide the log file for the first command with error. ‘logistic = hl.logistic\_regression\_rows(x=mt\_pheno.DS, y=mt\_pheno.pheno.CASE, covariates=[1.0, mt\_pheno.pheno.AGE], test=‘wald’)’  
[hail-20241109-0218-0.2.132-678e1f52b999.log](https://discuss.hail.is/uploads/short-url/2IIX8xCtXs0PIqkbMNYArdWueqK.log) (2.1 MB)

I also tried to set spark memory but still not working

hl.init(spark\_conf={‘spark.driver.memory’: ‘100g’})  
hl.init(spark\_conf={‘spark.driver.memory’: ‘20g’, ‘spark.executor.memory’ : ‘20g’})

Do I have to increase the memory more?  
Or is there other way to increase JVM heap memory?
