Giter Club home page Giter Club logo

facebook-presto's People

Contributors

alandpost avatar arhimondr avatar arturgajowy avatar cawallin avatar cberner avatar dain avatar electrum avatar erichwang avatar fiedukow avatar findepi avatar geraint0923 avatar haozhun avatar highker avatar jessesleeping avatar joyyao8 avatar kokosing avatar losipiuk avatar maciejgrzybek avatar martint avatar mbasmanova avatar miniway avatar nezihyigitbasi avatar nileema avatar pnowojski avatar raghavsethi avatar rschlussel avatar rschlussel-zz avatar sopel39 avatar wenleix avatar zhenxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebook-presto's Issues

Queries getting QUEUED after upgrading to 0.203-e.0.2

After upgrading to 0.203-e.0.2, we observed that when there is a query in RUNNING state, all subsequent queries get QUEUED until the first query finishes. We were previously using 0.195-e.0.6 and did not have this problem. The symptom is the same as described in prestodb#10383. Is the change incorporated into Starburst 0.203-e.0.2?

We do have a very simple resource group configuration file like this:

{
    "rootGroups": [
      {
        "name": "global",
        "softMemoryLimit": "100%",
        "hardConcurrencyLimit": 100,
        "maxQueued": 1000,
        "schedulingPolicy": "weighted",
        "jmxExport": true
      }
    ],
    "selectors": [
      {
        "group": "global"
      }
    ]
  }

Unable to read Hive table after loading

A managed internal table with Bucketing (5 buckets) contains the following files:
000000_0
000001_0
000003_0
000005_0

On inserting new records, the files look like this:
000000_0_copy_1
000000_0_copy_2
000000_0_copy_3
000001_0
000003_0
000003_0_copy_1
000003_0_copy_2
000003_0_copy_3
000004_0

This causes Presto to fail, however the Hive Connector changes fixed this issue via implementing hive.empty-bucketed-partitions.enabled and hive.multi-file-bucketing.enabled.

I have run into an issue when loading the above table into another via a CREATE TABLE as SELECT... statement. Hive renames the files to look like:
000000_0
000001_0
000002_0
000003_0
000004_0
000005_0
000006_0
000007_0
000008_0

This causes the following error The number of files in the directory (9) does not match the declared bucket count (5) . I assume for a table with 5 buckets, Presto expects the prefix to range from 000000_ to 000004_ and it's the 000005_ to 000008_ prefixes that cause the PrestoException(HIVE_INVALID_BUCKET_FILES,...) exception. The table is accessible from Hive and Spark but not via Presto.

As a workaround, if a LIMIT clauses is added to the CREATE TABLE as SELECT... statement, it forces hive to create files equal to the number of buckets defined.

Design doc for CBO

I've read an article about work on CBO in tech blog. Awesome results folks! I'm wondering if there's a design doc to read about current work on CBO?

KILL button not working in 0.203-e.0.7 UI

The KILL button in 0.203-e.0.7 UI does not seem to be working. When the button is pushed on a query details page (e.g. https://myserver:8443/ui/query.html?20180828_153406_00009_2vwx5), the following error can be seen from JavaScript console:

Failed to load resource: the server responded with a status of 404 (Not Found)
PUT https://myserver:8443/ui/v1/query/20180828_153406_00009_2vwx5/killed 404 (Not Found)

Inspect the PUT request with Google Chrome Devtools, it reveals:

Request URL: https://myserver:8443/ui/v1/query/20180828_153406_00009_2vwx5/killed
Request Method: PUT
Status Code: 404 Not Found

I think the URL path should have been (without /ui/) https://myserver:8443/v1/query/20180828_153406_00009_2vwx5/killed.

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.