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

Failing CLI commands from opentsdb-bigtable setup (2.4) #17

Open
nimitnagpal opened this issue Jun 21, 2021 · 1 comment
Open

Failing CLI commands from opentsdb-bigtable setup (2.4) #17

nimitnagpal opened this issue Jun 21, 2021 · 1 comment

Comments

@nimitnagpal
Copy link

nimitnagpal commented Jun 21, 2021

I am trying to fix some orphaned data as per http://opentsdb.net/docs/build/html/user_guide/cli/fsck.html

However, I am facing unknown --sync error while running this from CLI

root@opentsdb-read-854b77c77c-2l695:/usr/local/bin# tsdb fsck
Running OpenTSDB with Bigtable support
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/share/opentsdb/lib/asyncbigtable-0.3.1-20170903.031804-2-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/share/opentsdb/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No appenders could be found for logger (net.opentsdb.utils.Config).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.lang.IllegalArgumentException: Unknown option --sync
at net.opentsdb.tools.ArgP.has(ArgP.java:213)
at net.opentsdb.tools.FsckOptions.(FsckOptions.java:57)
at net.opentsdb.tools.Fsck.main(Fsck.java:1282)

@varundhussa
Copy link
Contributor

Updating the asyncbigtable to 0.4.2 in building OpenTSDB should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants