Work fine after add docker --network. Thanks all. But I still have a
question about how to change log level?
Jia Fan 于2024年9月30日周一 10:45写道:
> Thanks Simhadri.
> I checked /tmp/hive/hive.log. The key error is can not parse host
> `metastore`.
> ```
> Caused by: java.net.UnknownHostException: meta
Thanks Simhadri.
I checked /tmp/hive/hive.log. The key error is can not parse host
`metastore`.
```
Caused by: java.net.UnknownHostException: metastore
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j
I checked the metastore logs, looks like it works well?
```
Initialization script completed
schemaTool completed
[WARN] Failed to create directory: /home/hive/.beeline
No such file or directory
+ '[' 0 -eq 0 ']'
+ echo 'Initialized schema successfully..'
+ '[' metastore == hiveserver2 ']'
+ '[' met
Hi Jia Fan,
Can you please, docker exec into the container and share the stack trace
from the log file at tmp/root/hive.log ?
That will give us more info on what's going on .
Thanks
Simhadri G
On Mon, Sep 30, 2024, 8:02 AM Jia Fan wrote:
> Thanks Zoltan for response.
> I pull docker image[1]
Thanks Zoltan for response.
I pull docker image[1] from docker hub. I believe it pushed by hive team.
[1]
https://hub.docker.com/layers/apache/hive/3.1.3/images/sha256-d102ba29ad07e93c303894896203a80b903c0001d80221f1cb9fea92dcac06e4?context=explore
Zoltán Rátkai 于2024年9月30日周一 03:51写道:
> Hi Jia F
Hi Jia Fan,
did you check the if metastore started properly as well?
On Dockerhub there is Hive version from 4.0, but as I see you tried to use
3.1.3.
Regards,
Zoltan Ratkai
On Sun, Sep 29, 2024 at 12:10 PM Jia Fan wrote:
> Hi folks,
> I followed the guide[1] to run docker with hive.
> These