{"action":"closed","issue":{"url":"https://api.github.com/repos/CommBank/maestro/issues/430","labels_url":"https://api.github.com/repos/CommBank/maestro/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/CommBank/maestro/issues/430/comments","events_url":"https://api.github.com/repos/CommBank/maestro/issues/430/events","html_url":"https://github.com/CommBank/maestro/issues/430","id":96207069,"number":430,"title":"Permission issue with viewHive","user":{"login":"sujeshchirackkal","id":1498788,"avatar_url":"https://avatars.githubusercontent.com/u/1498788?v=3","gravatar_id":"","url":"https://api.github.com/users/sujeshchirackkal","html_url":"https://github.com/sujeshchirackkal","followers_url":"https://api.github.com/users/sujeshchirackkal/followers","following_url":"https://api.github.com/users/sujeshchirackkal/following{/other_user}","gists_url":"https://api.github.com/users/sujeshchirackkal/gists{/gist_id}","starred_url":"https://api.github.com/users/sujeshchirackkal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujeshchirackkal/subscriptions","organizations_url":"https://api.github.com/users/sujeshchirackkal/orgs","repos_url":"https://api.github.com/users/sujeshchirackkal/repos","events_url":"https://api.github.com/users/sujeshchirackkal/events{/privacy}","received_events_url":"https://api.github.com/users/sujeshchirackkal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"vineethvarghese","id":672908,"avatar_url":"https://avatars.githubusercontent.com/u/672908?v=3","gravatar_id":"","url":"https://api.github.com/users/vineethvarghese","html_url":"https://github.com/vineethvarghese","followers_url":"https://api.github.com/users/vineethvarghese/followers","following_url":"https://api.github.com/users/vineethvarghese/following{/other_user}","gists_url":"https://api.github.com/users/vineethvarghese/gists{/gist_id}","starred_url":"https://api.github.com/users/vineethvarghese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vineethvarghese/subscriptions","organizations_url":"https://api.github.com/users/vineethvarghese/orgs","repos_url":"https://api.github.com/users/vineethvarghese/repos","events_url":"https://api.github.com/users/vineethvarghese/events{/privacy}","received_events_url":"https://api.github.com/users/vineethvarghese/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-07-21T01:47:20Z","updated_at":"2015-11-24T08:54:52Z","closed_at":"2015-11-24T08:54:52Z","body":"Throws permission issues intermittently while trying to write into multiple partitions using viewHive API.\r\n\r\nThis issue was reported during CDH 5 Upgrade. Observation was that cascading-hive was overriding the hive.metastore.execute.setugi and hence the jobs are trying to write into partitions as 'hive' user rather than the user who actually runs the job. Had tried setting the hive conf path explicitly via ops-logical environment script. But seems this hasn't really fixed the issue.\r\nexport HADOOP_CLASSPATH=\"$HADOOP_CLASSPATH:/etc/hive/conf\"\r\n\r\nWorkaround: Written using view API and calls msck repair on table to update the metadata."}}