Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

[BUG] Alluxio command reports error #46

@res-life

Description

@res-life

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions