Closed Dhyanesh97 closed 3 years ago
Hi
I don't understand how you have retrofit2 error
Hello,
I followed the setup instructions in README.md file and then executed the above mentioned command to convert field to tag.
wget --no-clobber --output-document=/usr/local/bin/influxdb-fetcher https://raw.githubusercontent.com/hgomez/influxdb/master/bin/influxdb-fetcher
chmod +x /usr/local/bin/influxdb-fetcher
I am using openjdk 11.0.11.
System specification: NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
Retrofit2 is bundled in influxdb-java library which only support InfluxDB v1
https://github.com/influxdata/influxdb-java/blob/master/pom.xml#L280-L282
For InfluxDB 2 support, we should use another library
https://github.com/influxdata/influxdb-client-java
PR welcomed
Dear @Dhyanesh97,
we are already tracking this on behalf of #6. As Henri said, a patch for bringing in support for InfluxDB 2 would be much appreciated.
With kind regards, Andreas.
I was trying to use this tool to convert field to tag but it was failing with the java exception for influxdb 2.0.
Exception:
Is there any workaround ? Please any help appreciated