I got an error while setting up OpenTSDB with Cloudera Hadoop ( CDH 5.16 ). This error occurred while running the table creation script (create-table.sh).

The log was showing the following error messages

Caused by: org.hbase.async.TableNotFoundException: “tsdb”

ERROR: For input string: “FOREVER”

I fixed this issue by making a slight change to the create-table.sh script. Remove the parameter TTL => ‘$TSDB_TTL’ from the TSDB_TABLE creation statement.

Actual script (Only the specific portion is given below. The complete script has more contents)
create '$TSDB_TABLE',
  {NAME => 't', VERSIONS => 1, COMPRESSION => '$COMPRESSION', BLOOMFILTER => '$BLOOMFILTER', DATA_BLOCK_ENCODING => '$DATA_BLOCK_ENCODING', TTL => '$TSDB_TTL'}

Modified script (Only the specific portion is given below. The complete script has more contents)
create '$TSDB_TABLE',
  {NAME => 't', VERSIONS => 1, COMPRESSION => '$COMPRESSION', BLOOMFILTER => '$BLOOMFILTER', DATA_BLOCK_ENCODING => '$DATA_BLOCK_ENCODING'}

I hope this tip helps someone. If you have any questions, feel free to ask the question via comments.