{"action":"opened","issue":{"url":"https://api.github.com/repos/crs4/pydoop/issues/222","repository_url":"https://api.github.com/repos/crs4/pydoop","labels_url":"https://api.github.com/repos/crs4/pydoop/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/crs4/pydoop/issues/222/comments","events_url":"https://api.github.com/repos/crs4/pydoop/issues/222/events","html_url":"https://github.com/crs4/pydoop/issues/222","id":191323519,"number":222,"title":"Higher verbosity when parsing Hadoop conf files","user":{"login":"simleo","id":1183171,"avatar_url":"https://avatars.githubusercontent.com/u/1183171?v=3","gravatar_id":"","url":"https://api.github.com/users/simleo","html_url":"https://github.com/simleo","followers_url":"https://api.github.com/users/simleo/followers","following_url":"https://api.github.com/users/simleo/following{/other_user}","gists_url":"https://api.github.com/users/simleo/gists{/gist_id}","starred_url":"https://api.github.com/users/simleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simleo/subscriptions","organizations_url":"https://api.github.com/users/simleo/orgs","repos_url":"https://api.github.com/users/simleo/repos","events_url":"https://api.github.com/users/simleo/events{/privacy}","received_events_url":"https://api.github.com/users/simleo/received_events","type":"User","site_admin":false},"labels":[{"id":42168320,"url":"https://api.github.com/repos/crs4/pydoop/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-23T16:39:53Z","updated_at":"2016-11-23T16:39:53Z","closed_at":null,"body":"`hadoop_utils.PathFinder.hadoop_params` could be a bit more verbose about failed parsing attempts (which file could not be parsed and why). Something like:\r\n\r\n```diff\r\n                 try:\r\n                     params.update(parse_hadoop_conf_file(fn))\r\n-                except (IOError, HadoopXMLError):\r\n+                except (IOError, HadoopXMLError) as e:\r\n+                    print(\"could not parse %s: %r\" % (fn, e))\r\n                     pass  # silently ignore, as in Hadoop\r\n```\r\n\r\nBut done properly, i.e., via a warning or log message."}}
{"actor":{"display_login":"simleo"}}