Updated Run Presto on SeaweedFS (markdown)

boshen-dev 2020-12-02 17:33:39 +08:00
parent 9819e50037
commit ffb5d1d1fb

@ -4,14 +4,15 @@ The installation steps are divided into 2 steps:
### Follow instructions for installation of Hive Metastore ### Follow instructions for installation of Hive Metastore
* https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+Administration * https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+Administration
### Configure Hive Metastore to support Seaweedfs ### Configure Hive Metastore to support SeaweedFS
Copy the seaweedfs-hadoop2-client-1.5.6.jar to hive lib directory,for example: 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/hadoop/share/hadoop/common/lib/
cp seaweedfs-hadoop2-client-1.5.6.jar /opt/hive-metastore/lib/
`cp seaweedfs-hadoop2-client-1.5.6.jar /opt/hive-metastore/lib/` ```
### Modify hive-site.xml
`<configuration> ```
<configuration>
<property> <property>
<name>fs.defaultFS</name> <name>fs.defaultFS</name>
<value>seaweedfs://10.0.100.51:30888</value> <value>seaweedfs://10.0.100.51:30888</value>
@ -29,6 +30,5 @@ Copy the seaweedfs-hadoop2-client-1.5.6.jar to hive lib directory,for example:
<value>4194304</value> <value>4194304</value>
</property> </property>
</configuration> </configuration>
` ```
## install Presto ## install Presto