{"action":"created","issue":{"url":"https://api.github.com/repos/mtth/hdfs/issues/62","repository_url":"https://api.github.com/repos/mtth/hdfs","labels_url":"https://api.github.com/repos/mtth/hdfs/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/mtth/hdfs/issues/62/comments","events_url":"https://api.github.com/repos/mtth/hdfs/issues/62/events","html_url":"https://github.com/mtth/hdfs/issues/62","id":187850238,"number":62,"title":"Question about Custom Client","user":{"login":"sansagara","id":1382235,"avatar_url":"https://avatars.githubusercontent.com/u/1382235?v=3","gravatar_id":"","url":"https://api.github.com/users/sansagara","html_url":"https://github.com/sansagara","followers_url":"https://api.github.com/users/sansagara/followers","following_url":"https://api.github.com/users/sansagara/following{/other_user}","gists_url":"https://api.github.com/users/sansagara/gists{/gist_id}","starred_url":"https://api.github.com/users/sansagara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sansagara/subscriptions","organizations_url":"https://api.github.com/users/sansagara/orgs","repos_url":"https://api.github.com/users/sansagara/repos","events_url":"https://api.github.com/users/sansagara/events{/privacy}","received_events_url":"https://api.github.com/users/sansagara/received_events","type":"User","site_admin":false},"labels":[{"id":85212627,"url":"https://api.github.com/repos/mtth/hdfs/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-07T22:39:00Z","updated_at":"2016-11-08T18:13:13Z","closed_at":"2016-11-08T18:13:12Z","body":"Hi @mtth . I happen to be using hdfscli with the default ~/.hdfscli.cfg approach. However, after a recent server change, i had to re-create the file. So i was thinking to avoid the file (and even the use of a Environment Variable) by directly passing the parameters to the Client programmatically.\r\n\r\nI'm actually just using `client = Config().get_client()` on the code. And for the config file:\r\n\r\n> [global]\r\n> default.alias = prod\r\n> autoload.modules = hdfs.ext.kerberos\r\n> \r\n> [prod.alias]\r\n> url = http://cluster.domain:14000/\r\n> client = KerberosClient\r\n\r\n\r\nAny idea how to avoid using the config file with this setup? I've taken a look at:\r\nhttp://hdfscli.readthedocs.io/en/latest/api.html#hdfs.client.Client\r\nBut cant seem to quite get how i'm supposed to use Kerberos client with this..."},"comment":{"url":"https://api.github.com/repos/mtth/hdfs/issues/comments/259214477","html_url":"https://github.com/mtth/hdfs/issues/62#issuecomment-259214477","issue_url":"https://api.github.com/repos/mtth/hdfs/issues/62","id":259214477,"user":{"login":"sansagara","id":1382235,"avatar_url":"https://avatars.githubusercontent.com/u/1382235?v=3","gravatar_id":"","url":"https://api.github.com/users/sansagara","html_url":"https://github.com/sansagara","followers_url":"https://api.github.com/users/sansagara/followers","following_url":"https://api.github.com/users/sansagara/following{/other_user}","gists_url":"https://api.github.com/users/sansagara/gists{/gist_id}","starred_url":"https://api.github.com/users/sansagara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sansagara/subscriptions","organizations_url":"https://api.github.com/users/sansagara/orgs","repos_url":"https://api.github.com/users/sansagara/repos","events_url":"https://api.github.com/users/sansagara/events{/privacy}","received_events_url":"https://api.github.com/users/sansagara/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T18:13:12Z","updated_at":"2016-11-08T18:13:12Z","body":"Thank you!. It is so obvious now... \r\nMaybe you should consider putting this somewhere on the docs?\r\ngreetings!"}}
{"actor":{"display_login":"sansagara"}}