https://pinot.apache.org/ logo
Join Slack
Powered by
# troubleshooting
  • j

    Jack

    09/02/2020, 3:39 AM
    @Pradeep It works to me though
  • j

    Jack

    09/02/2020, 3:40 AM
    what mvn command did you run before running up the cluster?
  • p

    Pradeep

    09/02/2020, 3:41 AM
    mvn clean install -DskipTests -Pbin-dist
  • j

    Jack

    09/02/2020, 3:42 AM
    can you try that command again and run
    mvn idea:idea
    if you’re using intellij?
  • p

    Pradeep

    09/02/2020, 3:43 AM
    not using idea, but let me try that
  • p

    Pradeep

    09/02/2020, 3:45 AM
    what’s it supposed to do?
  • j

    Jack

    09/02/2020, 3:45 AM
    also, can you check whether you have more than one pinot repo open in your machine?
  • p

    Pradeep

    09/02/2020, 3:45 AM
    I am building this on one of our servers
  • p

    Pradeep

    09/02/2020, 3:46 AM
    only have one repo there
  • p

    Pradeep

    09/02/2020, 3:47 AM
    Actually I have multiple repos, let me try building on a different machine
  • j

    Jack

    09/02/2020, 3:49 AM
    what browser did you use? can you open the console from the browser and refresh the page to see what error it shows?
  • p

    Pradeep

    09/02/2020, 3:56 AM
    tried on chrome/brave/safari same issue, most likely a build issue as you pointed out I see these errors
    Copy code
    GET http://<hostname>:9000/swaggerui-dist/css/typography.css net::ERR_ABORTED 404 (Not Found)
    help:32 GET http://<hostname>:9000/swaggerui-dist/css/screen.css net::ERR_ABORTED 404 (Not Found)
    help:37 GET http://<hostname>:9000/swaggerui-dist/lib/jquery-1.8.0.min.js net::ERR_ABORTED 404 (Not Found)
    jquery.slideto.min.js:1 Uncaught ReferenceError: jQuery is not defined
        at jquery.slideto.min.js:1
    (anonymous) @ jquery.slideto.min.js:1
    jquery.wiggle.min.js:1 Uncaught ReferenceError: jQuery is not defined
        at jquery.wiggle.min.js:1
  • j

    Jack

    09/02/2020, 3:59 AM
    can you check which swagger-ui you’re using?
  • p

    Pradeep

    09/02/2020, 4:01 AM
    Copy code
    [WARNING] npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
    [WARNING] npm WARN eslint-config-airbnb@18.1.0 requires a peer of eslint-plugin-react-hooks@^2.5.0 || ^1.7.0 but none is installed. You must install peer dependencies yourself.
    [WARNING] npm WARN eslint-config-airbnb-base@14.2.0 requires a peer of eslint-plugin-import@^2.21.2 but none is installed. You must install peer dependencies yourself.
    [WARNING] npm WARN eslint-config-react-app@5.2.1 requires a peer of babel-eslint@10.x but none is installed. You must install peer dependencies yourself.
    [WARNING] npm WARN eslint-config-react-app@5.2.1 requires a peer of eslint-plugin-react-hooks@1.x || 2.x but none is installed. You must install peer dependencies yourself.
    [WARNING] npm WARN pinot-controller-ui@1.0.0 No description
    [WARNING] npm WARN pinot-controller-ui@1.0.0 No repository field.
    [WARNING] npm WARN pinot-controller-ui@1.0.0 No license field.
    [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
    [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/watchpack/node_modules/fsevents):
    [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    [ERROR]
    I see this error during build, maybe related?
  • p

    Pradeep

    09/02/2020, 4:02 AM
    maybe because of the os I am building on
  • p

    Pradeep

    09/02/2020, 4:02 AM
    ?
  • p

    Pradeep

    09/02/2020, 4:02 AM
    how do I check which swagger-ui ?
  • j

    Jack

    09/02/2020, 4:02 AM
    it’s in the classpath
  • p

    Pradeep

    09/02/2020, 4:06 AM
    ./pinot-tools/target/pinot-tools-pkg/lib/swagger-ui-3.18.2.jar
  • j

    Jack

    09/02/2020, 4:07 AM
    how do you spin up the pinot cluster?
  • p

    Pradeep

    09/02/2020, 4:09 AM
    pinot-admin.sh StartController
  • j

    Jack

    09/02/2020, 4:14 AM
    pinot-admin.sh StartController
    also works to me
  • m

    Mayank

    09/02/2020, 4:16 AM
    @Jack can you try a clean environment (with new git clone, removing cache etc)?
  • j

    Jack

    09/02/2020, 4:43 AM
    I’ve cleaned the cache, git clone a new repo, rebuilt locally, still cannot see the issue
  • p

    Pradeep

    09/02/2020, 4:46 AM
    Weird
  • j

    Jack

    09/02/2020, 4:50 AM
    can you try this command:
    pinot-distribution/target/apache-pinot-incubating-0.5.0-SNAPSHOT-bin/apache-pinot-incubating-0.5.0-SNAPSHOT-bin/bin/quick-start-batch.sh
  • j

    Jack

    09/02/2020, 4:52 AM
    I’m git cloning a new repo in linux as well and running the command above, the UI still works to me
  • p

    Pradeep

    09/02/2020, 5:02 AM
    let me try that
  • p

    Pradeep

    09/02/2020, 5:19 AM
    that works for me too
  • p

    Pradeep

    09/02/2020, 5:25 AM
    when I unpack the pinot-distribution/target/apache-pinot-incubating-0.5.0-SNAPSHOT-bin.tar.gz and try
    bin/quick-start-batch.sh
1...131132133...166Latest