mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +08:00
Updated run Presto on SeaweedFS (markdown)
34
Run-Presto-on-SeaweedFS.md
Normal file
34
Run-Presto-on-SeaweedFS.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# Installation for Presto
|
||||||
|
The installation steps are divided into 2 steps:
|
||||||
|
## install Hive Metastore
|
||||||
|
### Follow instructions for installation of Hive Metastore
|
||||||
|
* https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+Administration
|
||||||
|
|
||||||
|
### Configure Hive Metastore to support Seaweedfs
|
||||||
|
Copy the seaweedfs-hadoop2-client-1.5.6.jar to hive lib directory,for example:
|
||||||
|
|
||||||
|
`cp seaweedfs-hadoop2-client-1.5.6.jar /opt/hadoop/share/hadoop/common/lib/`
|
||||||
|
|
||||||
|
`cp seaweedfs-hadoop2-client-1.5.6.jar /opt/hive-metastore/lib/`
|
||||||
|
|
||||||
|
`<configuration>
|
||||||
|
<property>
|
||||||
|
<name>fs.defaultFS</name>
|
||||||
|
<value>seaweedfs://10.0.100.51:30888</value>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>fs.seaweedfs.impl</name>
|
||||||
|
<value>seaweed.hdfs.SeaweedFileSystem</value>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>fs.AbstractFileSystem.seaweedfs.impl</name>
|
||||||
|
<value>seaweed.hdfs.SeaweedAbstractFileSystem</value>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>fs.seaweed.buffer.size</name>
|
||||||
|
<value>4194304</value>
|
||||||
|
</property>
|
||||||
|
</configuration>
|
||||||
|
`
|
||||||
|
|
||||||
|
## install Presto
|
||||||
@@ -1 +0,0 @@
|
|||||||
# Installation for Presto
|
|
||||||
Reference in New Issue
Block a user