Skip to content
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

[BUG] Alluxio command reports error #46

Open
res-life opened this issue Apr 28, 2023 · 0 comments
Open

[BUG] Alluxio command reports error #46

res-life opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@res-life
Copy link
Collaborator

res-life commented Apr 28, 2023

Describe the bug

  • Alluxio command reports logger not config error.
  • Alluxio command reports PrometheusMetricsServlet ClassNotFoundException.
    It does not impact functionalities of Alluxio, but If we login to Web Terminal and run alluxio commans it shows errors.
    Since these errors do not show to end users, we can put this issue into low priority.

./alluxio fsadmin report

root@0224-020451-pugqs81d-10-59-182-117:/opt/alluxio/bin# ./alluxio fsadmin report
ERROR StatusLogger Reconfiguration failed: No configuration found for '7d4991ad' at 'null' in 'null'
06:44:21.573 [main] ERROR alluxio.metrics.MetricsSystem - Sink class alluxio.metrics.sink.PrometheusMetricsServlet cannot be instantiated
java.lang.ClassNotFoundException: alluxio.metrics.sink.PrometheusMetricsServlet
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[?:1.8.0_362]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_362]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) ~[?:1.8.0_362]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_362]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_362]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_362]
        at alluxio.metrics.MetricsSystem.startSinksFromConfig(MetricsSystem.java:273) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.metrics.MetricsSystem.startSinks(MetricsSystem.java:210) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.client.file.FileSystemContext.initContext(FileSystemContext.java:316) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.client.file.FileSystemContext.init(FileSystemContext.java:305) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.client.file.FileSystemContext.create(FileSystemContext.java:256) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.client.file.FileSystemContext.create(FileSystemContext.java:225) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.cli.fsadmin.FileSystemAdminShellUtils.checkMasterClientService(FileSystemAdminShellUtils.java:60) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.cli.fsadmin.command.ReportCommand.run(ReportCommand.java:107) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.cli.AbstractShell.run(AbstractShell.java:134) ~[alluxio-client-2.9.0.jar:?]
        at alluxio.cli.fsadmin.FileSystemAdminShell.main(FileSystemAdminShell.java:72) ~[alluxio-client-2.9.0.jar:?]


====================== The above is error msg================
====================== The below is output of this command ======

Alluxio cluster summary: 
    Master Address: 10.59.182.117:19998
    Web Port: 19999
    Rpc Port: 19998
    Started: 04-28-2023 06:39:15:645
    Uptime: 0 day(s), 0 hour(s), 5 minute(s), and 6 second(s)
    Version: 2.9.0
    Safe Mode: false
    Zookeeper Enabled: false
    Raft-based Journal: true
    Raft Journal Addresses: 
        10.59.182.117:19200
    Live Workers: 1
    Lost Workers: 0
    Total Capacity: 68.73GB
        Tier: SSD  Size: 68.73GB
    Used Capacity: 0B
        Tier: SSD  Size: 0B
    Free Capacity: 68.73GB

Steps/Code to reproduce bug
Create a Databricks cluster with:
Environment variables:
PROMETHEUS_COPY_DATA_PATH=/dbfs/chongg/dblogs-prometheus
ENABLE_ALLUXIO=1
Docker image URL: gaochong365/rapids-4-spark-databricks:23.04.0-rc1

After started the cluster, login to Web Terminal via Apps Tab.
cd /opt/alluxio/bin
./alluxio fsadmin report

@res-life res-life added bug Something isn't working ? - Needs Triage Issue needs triage labels Apr 28, 2023
@mattahrens mattahrens removed the ? - Needs Triage Issue needs triage label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants