{"action":"created","issue":{"url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/39","repository_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro","labels_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/39/comments","events_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/39/events","html_url":"https://github.com/ScaleUnlimited/cascading.avro/issues/39","id":62210771,"number":39,"title":"Downgrade Avro dependency to 1.7.4?","user":{"login":"ldcasillas-progreso","id":8095446,"avatar_url":"https://avatars.githubusercontent.com/u/8095446?v=3","gravatar_id":"","url":"https://api.github.com/users/ldcasillas-progreso","html_url":"https://github.com/ldcasillas-progreso","followers_url":"https://api.github.com/users/ldcasillas-progreso/followers","following_url":"https://api.github.com/users/ldcasillas-progreso/following{/other_user}","gists_url":"https://api.github.com/users/ldcasillas-progreso/gists{/gist_id}","starred_url":"https://api.github.com/users/ldcasillas-progreso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldcasillas-progreso/subscriptions","organizations_url":"https://api.github.com/users/ldcasillas-progreso/orgs","repos_url":"https://api.github.com/users/ldcasillas-progreso/repos","events_url":"https://api.github.com/users/ldcasillas-progreso/events{/privacy}","received_events_url":"https://api.github.com/users/ldcasillas-progreso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-03-16T21:10:07Z","updated_at":"2016-07-11T14:47:31Z","closed_at":null,"body":"As mentioned in issue #33, The 2.5.x branch of avro-scheme depends on a newer Avro version (1.7.7) than the one that ships with Hadoop 2.6.x (Avro 1.7.4).  In addition to that, avro-scheme does call a methods that exist in Avro 1.7.7 but not in 1.7.4.  Which means that an application that uses avro-scheme must set the Hadoop `mapreduce.job.user.classpath.first` configuration option to `true` to work reliably, otherwise it can get `NoSuchMethodError`s as detailed in Issue #33.\r\n\r\nHowever, setting  `mapreduce.job.user.classpath.first=true` can cause problems with *other* components or libraries that the application uses.  For example, after modifying my application to use that setting, I had to downgrade the Guava library to 14.0.1, because the setting causes Hadoop to put my application's newer Guava ahead of its own, and current Hadoop versions contain code that depends on methods that were removed in recent Guava versions.\r\n\r\nTherefore, it seems that it would be prudent for `avro-scheme` to be more conservative about which Avro version is required, and try not to use a version newer than whatever Hadoop ships with.  \r\n\r\nNote that this isn't just a matter of downgrading the Avro dependency, since avro-scheme currently does use methods that were introduced in Avro 1.7.5 and later (thus the `NoSuchMethodError` detailed in issue #33)."},"comment":{"url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/comments/231756810","html_url":"https://github.com/ScaleUnlimited/cascading.avro/issues/39#issuecomment-231756810","issue_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/39","id":231756810,"user":{"login":"kkrugler","id":66217,"avatar_url":"https://avatars.githubusercontent.com/u/66217?v=3","gravatar_id":"","url":"https://api.github.com/users/kkrugler","html_url":"https://github.com/kkrugler","followers_url":"https://api.github.com/users/kkrugler/followers","following_url":"https://api.github.com/users/kkrugler/following{/other_user}","gists_url":"https://api.github.com/users/kkrugler/gists{/gist_id}","starred_url":"https://api.github.com/users/kkrugler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkrugler/subscriptions","organizations_url":"https://api.github.com/users/kkrugler/orgs","repos_url":"https://api.github.com/users/kkrugler/repos","events_url":"https://api.github.com/users/kkrugler/events{/privacy}","received_events_url":"https://api.github.com/users/kkrugler/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:47:31Z","updated_at":"2016-07-11T14:47:31Z","body":"hi @vmagotra - I think the latest Cascading 3.1 targets Hadoop 2.7, which still is using Avro 1.7.4. So I agree we should switch back to that version."}}
{"actor":{"display_login":"kkrugler"}}