newbie: Have setup'ed caravel on Linux, while syncing the Druid it throws me the following error;

7 views
Skip to first unread message

Santhosh Kumar

unread,
Jun 30, 2016, 3:39:18 PM6/30/16
to airbnb_caravel

Error while processing cluster 'maw-gq1'

invalid literal for int() with base 10: '0-1440102286-285d335-15'


2016-06-30 19:36:51,789:INFO:root:Syncing Druid datasource [fact_content]

Error while processing cluster 'maw-gq1'

invalid literal for int() with base 10: '0-1440102286-285d335-15'

2016-06-30 19:36:51,863:ERROR:root:invalid literal for int() with base 10: '0-1440102286-285d335-15'

Traceback (most recent call last):

  File "/home/y/bin/caravel", line 114, in refresh_druid

    cluster.refresh_datasources()

  File "/home/y/lib/python2.7/site-packages/caravel/models.py", line 1012, in refresh_datasources

    DruidDatasource.sync_to_db(datasource, self)

  File "/home/y/lib/python2.7/site-packages/caravel/models.py", line 1134, in sync_to_db

    cols = datasource.latest_metadata()

  File "/home/y/lib/python2.7/site-packages/caravel/models.py", line 1105, in latest_metadata

    start = (0 if self.version_higher(self.cluster.druid_version, '0.8.2') else 1)

  File "/home/y/lib/python2.7/site-packages/caravel/models.py", line 1087, in version_higher

    v1nums = [int(n) for n in v1.split('.')]

ValueError: invalid literal for int() with base 10: '0-1440102286-285d335-15'

Refreshed metadata from cluster [maw-gq1]

bash-4.1$ vi /home/y/lib/python2.7/site-packages/caravel/models.py


Any pointers?


Thank you.

Santhosh Kumar

unread,
Jun 30, 2016, 3:40:45 PM6/30/16
to airbnb_caravel
Version:

-----------------------

Caravel 0.10.0

-----------------------

Maxime Beauchemin

unread,
Jun 30, 2016, 11:37:22 PM6/30/16
to airbnb_caravel
Looks like you are running a funky version of Druid. Anyhow this should help:

Max

Santhosh Kumar

unread,
Jul 7, 2016, 5:21:35 PM7/7/16
to airbnb_caravel
Thank you much appreciated.
Reply all
Reply to author
Forward
0 new messages