Closed brianyye closed 2 years ago
Please read README.
Trino-admin (formerly known as presto-admin) is deprecated and will not work with new versions of Trino (>350)
docs
module requires docker. Could you make sure the requirement?
Hi Trinodb/Trino-Admin,
Yes, I do have docker installed: the command: docker -v returns: Docker version 20.10.11, build dea9396
Also for your information, PrestoSql 337 has a directory named "presto-docs", but trino only has the directory "docs", no "trino-docs".
Thanks, Brian Ye
On Mon, Jan 3, 2022 at 5:15 PM Yuya Ebihara @.***> wrote:
Please read README.
Trino-admin (formerly known as presto-admin) is deprecated and will not work with new versions of Trino (>350)
docs module requires docker. Could you make sure the requirement?
— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1004420022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3WUULWOBV7X4G25MYDUUIU2LANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
What command did you execute?
I just followed the instructions in README.md and issue:
./mvnw clean install -DskipTests
Thanks, Brian Ye
On Mon, Jan 3, 2022 at 5:38 PM Yuya Ebihara @.***> wrote:
What command did you execute?
— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1004429426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3RINQ3KEGCFNZUNGATUUIXNZANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
How about the result of /mvnw -v
? Also, please share the entire log of ./mvnw clean install -DskipTests -pl docs
.
Hi,
Here is the output:
./mvnw -v Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /home/briany/.m2/wrapper/dists/apache-maven-3.8.4-bin/5sjqtqkfjmakil1qhdtgrnjjdc/apache-maven-3.8.4 Java version: 11.0.13, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.45.1.el7.x86_64", arch: "amd64", family: "unix"
build output:
Script started on Wed 05 Jan 2022 10:26:49 AM CST
@.:~/PreAlpha/ThirdParty/trino/master
@. master]$ ./mvnw clean install -DskipTests -pl docs
[ [1;34mINFO [m] Scanning for projects...
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m------------------------< [0;36mio.trino:trino-docs
[0;1m >------------------------- [m
[ [1;34mINFO [m] [1mBuilding trino-docs 367-SNAPSHOT [m
[ [1;34mINFO [m] [1m--------------------------------[ pom
]--------------------------------- [m
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mmaven-clean-plugin:3.0.0:clean [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] Deleting
/home/briany/PreAlpha/ThirdParty/trino/master/docs/target
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mdrift-maven-plugin:1.14:generate-thrift-idl
[m m [m @ [36mtrino-docs [0;1m --- [m
Downloading from sonatype-nexus-snapshots:
https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-thrift-api/367-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-nexus-snapshots:
https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-root/367-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-nexus-snapshots:
https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-spi/367-SNAPSHOT/maven-metadata.xml
[ [1;34mINFO [m] Found Thrift service: TrinoThriftService
[ [1;34mINFO [m] Wrote Thrift IDL to
/home/briany/PreAlpha/ThirdParty/trino/master/docs/target/TrinoThriftService.thrift
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:java [m
m [m @ [36mtrino-docs [0;1m --- [m
Downloading from sonatype-nexus-snapshots:
https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml
Downloading from maven-default-http-blocker:
http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml
[ [1;33mWARNING [m] Could not transfer metadata
io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from/to
maven-default-http-blocker (http://0.0.0.0/): transfer failed for
http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml
[ [1;33mWARNING [m] Failure to transfer
io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from http://0.0.0.0/
was cached in the local repository, resolution will not be reattempted
until the update interval of maven-default-http-blocker has elapsed or
updates are forced. Original error: Could not transfer metadata
io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from/to
maven-default-http-blocker (http://0.0.0.0/): transfer failed for
http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml
Validating
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/language/reserved.rst
Validated 75 reserved identifiers
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:exec [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mmaven-enforcer-plugin:3.0.0-M3:enforce [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mdependency-scope-maven-plugin:0.10:check [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] No test dependency scope issues found
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mlicense-maven-plugin:3.0:check [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] Checking licenses...
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/no-inequality-pushdown-text-type.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-common-configurations.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/alter-table-limitation.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/no-pushdown-text-type.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/sql-delete-limitation.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-case-insensitive-matching.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/non-transactional-insert.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/kerberos-configuration.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/kerberos-services.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/ktadd-note.fragment
[ [1;33mWARNING [m] Unknown file extension:
/home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-type-mapping.fragment
[ [1;33mWARNING [m] Unable to find a comment style definition for some
files. You may want to add a custom mapping for the relevant file
extensions.
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mmaven-checkstyle-plugin:3.1.2:check [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] You have 0 Checkstyle violations.
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mjacoco-maven-plugin:0.8.6:prepare-agent [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;33mWARNING [m] The artifact xml-apis:xml-apis:jar:2.0.2 has been
relocated to xml-apis:xml-apis:jar:1.0.b2
[ [1;34mINFO [m] Skipping JaCoCo execution because property jacoco.skip is
set.
[ [1;34mINFO [m] argLine set to empty
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mgit-commit-id-plugin:4.0.3:revision [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m--- [0;32mmaven-dependency-plugin:3.1.2:analyze-only [m
m [m @ [36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] Skipping pom project
[ [1;34mINFO [m]
[ [1;34mINFO [m] [1m---
[0;32mmaven-dependency-plugin:3.1.2:analyze-duplicate [m m [m @
[36mtrino-docs [0;1m --- [m
[ [1;34mINFO [m] No duplicate dependencies found in
[ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mduplicate-finder-maven-plugin:1.5.0:check [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Ignoring POM project! [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmodernizer-maven-plugin:2.2.0:modernizer [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mjacoco-maven-plugin:0.8.6:report [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Skipping JaCoCo execution because property jacoco.skip is set. [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-jar-plugin:3.2.0:test-jar [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Skipping packaging of the test-jar [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-source-plugin:3.2.0:jar-no-fork [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-source-plugin:3.2.0:test-jar-no-fork [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:exec [m [1m(run-sphinx) [m @ [36mtrino-docs [0;1m --- [m
Script done on Wed 05 Jan 2022 10:27:31 AM CST
Thanks, Brian Ye
On Wed, Jan 5, 2022 at 12:22 AM Yuya Ebihara @.***> wrote:
How about the result of /mvnw -v? Also, please share the entire log of ./mvnw clean install -DskipTests -pl docs.
— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1005414572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3SK6UDKUSZ27TLFZLTUUPPRPANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
Please see the error message. As I already mentioned before, docs module requires docker. You can skip by !:trino-docs
if you don't want to build docs module.
Thanks. I suggest that you add the following to the instructions:
On Wed, Jan 5, 2022 at 5:47 PM Yuya Ebihara @.***> wrote:
Closed #47 https://github.com/trinodb/trino-admin/issues/47.
— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#event-5849446147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3WCIPSL33UNJLOIXFDUUTKBJANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Download and build trino 367 on Linux version 3.10.0-1160.45.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org), and failed to build "trino-docs". When I took a look in pom.xml, there is a "docs" but not "trino-docs". The directory structure also contains a "docs" but not "trino-docs". I am not sure if this is the cause. Error message (copied from typescript file):