-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[docs] Add Troubleshooting topic to documentation #24601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
steveburnett
merged 1 commit into
prestodb:master
from
steveburnett:steveburnett-troubleshooting
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*************** | ||
Troubleshooting | ||
*************** | ||
|
||
This section collects known problems and their identified solutions or workarounds, | ||
and are grouped by topic. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
troubleshoot/deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
================ | ||
Deploying Presto | ||
================ | ||
|
||
This page presents common problems encountered when deploying Presto. | ||
|
||
.. contents:: | ||
:local: | ||
:backlinks: none | ||
:depth: 1 | ||
|
||
``Permission denied: ‘/private/var/presto/data/var/run/launcher.pid`` | ||
--------------------------------------------------------------------- | ||
|
||
Problem | ||
^^^^^^^ | ||
|
||
``bin/launcher run`` or ``bin/launcher start`` returns the following error: | ||
|
||
``Permission denied: ‘/private/var/presto/data/var/run/launcher.pid`` | ||
|
||
Solution | ||
^^^^^^^^ | ||
|
||
Run the command as root or using ``sudo``. | ||
|
||
.. code-block:: none | ||
|
||
sudo bin/launcher run | ||
sudo bin/launcher start | ||
|
||
|
||
``xcode select failed to locate python`` | ||
---------------------------------------- | ||
|
||
Problem | ||
^^^^^^^ | ||
|
||
(OS X only) ``bin/launcher run`` or ``bin/launcher start`` returns the following error: | ||
|
||
``xcode select failed to locate python requesting installation of command`` | ||
|
||
Solution | ||
^^^^^^^^ | ||
|
||
Create a symlink where XCode looks for python that links to python3. An example of such a command: | ||
steveburnett marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. code-block:: none | ||
|
||
ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python | ||
|
||
|
||
|
||
|
||
``Error: VM option ‘UseG1GC’ is experimental`` | ||
---------------------------------------------- | ||
|
||
Problem | ||
^^^^^^^ | ||
``bin/launcher run`` or ``bin/launcher start`` returns the following error: | ||
|
||
.. code-block:: none | ||
|
||
Error: VM option ‘UseG1GC’ is experimental and must be enabled via -XX:+UnlockExperimentalVM Options. | ||
|
||
Error: Could not create the Java Virtual Machine. | ||
|
||
Error: A fatal exception has occurred. Program will exit. | ||
|
||
Solution | ||
^^^^^^^^ | ||
|
||
This error occurs with some versions of Java. | ||
|
||
1. Check the version of Java that is installed on the system. | ||
|
||
2. If the installed version of Java is not the version in | ||
`Requirements <https://github.com/prestodb/presto?tab=readme-ov-file#requirements>`_, | ||
then uninstall Java and install a recommended version. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.