Giter Site home page Giter Site logo

Comments (2)

zhenik avatar zhenik commented on July 24, 2024

Update 1

CSV support blocker Skatteetaten/terraform-nomad-hive#12

References: https://towardsdatascience.com/load-and-query-csv-file-in-s3-with-presto-b0d50bc773c9

Presto’s CSV format support requires metastore.storage.schema.reader.impl=org.apache.hadoop.hive.metastore.SerDeStorageSchemaReader in the metastore-site.xml Hive Metastore configuration file.

How to resolve [RESOLVED]

  • fix blocker #13
  • add additional env var to hive, when deploy
hive_container_environment_variables =[ 
 "HIVE_SITE_CONF_metastore_storage_schema_reader_impl=org.apache.hadoop.hive.metastore.SerDeStorageSchemaReader"
]

from terraform-nomad-trino.

zhenik avatar zhenik commented on July 24, 2024

Update 2

presto-cli require java.
Blocker on vagrant-hashistack #304

Log

vagrant@vagrant:/vagrant/dev/ansible$ ../../presto_340 --server localhost:8080 --catalog hive --schema default --user presto --file ../../example/resources/query/csv_create_table.sql
../../presto_340: 3: exec: java: not found
vagrant@vagrant:/vagrant/dev/ansible$ which java
vagrant@vagrant:/vagrant/dev/ansible$ echo $JAVA_HOME

vagrant@vagrant:/vagrant/dev/ansible$ 

How to resolve option 1

How to resolve option 2

  • Build docker image with java and presto-cli. Use --network host mode with docker container

from terraform-nomad-trino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.