Last modified: 2014-11-06 21:18:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75095, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73095 - Switching column type of time_firstbyte broke the table
Switching column type of time_firstbyte broke the table
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Refinery (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 73018
  Show dependency treegraph
 
Reported: 2014-11-06 21:17 UTC by christian
Modified: 2014-11-06 21:18 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description christian 2014-11-06 21:17:25 UTC
Updating the time_firstbyte column from float to double (bug 73018) using a plain

  ALTER TABLE webrequest CHANGE time_firstbyte time_firstbyte double;

succeeded without an error, but afterwards, it was no longer possible to
select data:

  hive (wmf_raw)> select * from webrequest where webrequest_source='mobile' and year=2014 and month=11 and day=6 and hour=10 limit 2;
  OK
  hostname        sequence        dt      time_firstbyte  ip      cache_status    http_status     response_size   http_method     uri_host        uri_path        uri_query       content_type    referer x_forwarded_for user_agent      accept_language        x_analytics     webrequest_source       year    month   day     hour
  Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: Error evaluating hostname


Hive does not like us :-)
Comment 1 christian 2014-11-06 21:18:13 UTC
I rebuilt the webrequest table and added all partitions again.
Now selecting again works as expected.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links