Updated run Presto on SeaweedFS (markdown)

boshen-dev 2020-12-02 17:21:29 +08:00
parent 0d0e17084b
commit 9819e50037
2 changed files with 34 additions and 1 deletions

@ -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