{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/350","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/350/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/350/events","html_url":"https://github.com/airbnb/airflow/issues/350","id":104406238,"number":350,"title":"the redis and hive port type issues","user":{"login":"griffinqiu","id":179343,"avatar_url":"https://avatars.githubusercontent.com/u/179343?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinqiu","html_url":"https://github.com/griffinqiu","followers_url":"https://api.github.com/users/griffinqiu/followers","following_url":"https://api.github.com/users/griffinqiu/following{/other_user}","gists_url":"https://api.github.com/users/griffinqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinqiu/subscriptions","organizations_url":"https://api.github.com/users/griffinqiu/orgs","repos_url":"https://api.github.com/users/griffinqiu/repos","events_url":"https://api.github.com/users/griffinqiu/events{/privacy}","received_events_url":"https://api.github.com/users/griffinqiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T05:42:45Z","updated_at":"2015-09-02T07:45:13Z","closed_at":null,"body":"We I start worker I got this imformation.\r\n\r\nERROR/MainProcess] consumer: Cannot connect to redis://ctu-cco-int.ubisoft.org:6379/12: Int or String expected.\r\n\r\nI fould it is bcs socket.getaddrinfo request the int type of port fields int python2.7/site-packages/redis/connection.py\r\n \r\nI found it is also have convert in __init__ function, however it look like the <class 'future.types.newint.newint'> type could not been convert to int\r\nlogging.info(type(port))  # <class 'future.types.newint.newint'>\r\nself.port = int(port)\r\nlogging.info(type(self.port))  # still <class 'future.types.newint.newint'>\r\n\r\n\r\nAnother question is also about the port of hive, after I config the hive2 connect,  I test it via the Hot Query. it is not work. \r\n\r\nit is bcs the port in socket.getaddrinfo function need a int type, but long type give. So I have to manual  convert it to int in python2.7/site-packages/thrift/transport/TSocket.py\r\n\r\nI checked the define in model.py of airflow. the port is defined int. it is very strange"},"comment":{"url":"https://api.github.com/repos/airbnb/airflow/issues/comments/136964870","html_url":"https://github.com/airbnb/airflow/issues/350#issuecomment-136964870","issue_url":"https://api.github.com/repos/airbnb/airflow/issues/350","id":136964870,"user":{"login":"griffinqiu","id":179343,"avatar_url":"https://avatars.githubusercontent.com/u/179343?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinqiu","html_url":"https://github.com/griffinqiu","followers_url":"https://api.github.com/users/griffinqiu/followers","following_url":"https://api.github.com/users/griffinqiu/following{/other_user}","gists_url":"https://api.github.com/users/griffinqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinqiu/subscriptions","organizations_url":"https://api.github.com/users/griffinqiu/orgs","repos_url":"https://api.github.com/users/griffinqiu/repos","events_url":"https://api.github.com/users/griffinqiu/events{/privacy}","received_events_url":"https://api.github.com/users/griffinqiu/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T07:45:13Z","updated_at":"2015-09-02T07:45:13Z","body":"I have tried. It look like some package conflict or missing"}}