{"action":"opened","issue":{"url":"https://api.github.com/repos/crs4/pydoop/issues/85","labels_url":"https://api.github.com/repos/crs4/pydoop/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/crs4/pydoop/issues/85/comments","events_url":"https://api.github.com/repos/crs4/pydoop/issues/85/events","html_url":"https://github.com/crs4/pydoop/issues/85","id":55376809,"number":85,"title":"Unable to get size of path","user":{"login":"MSaifAsif","id":6280554,"avatar_url":"https://avatars.githubusercontent.com/u/6280554?v=3","gravatar_id":"","url":"https://api.github.com/users/MSaifAsif","html_url":"https://github.com/MSaifAsif","followers_url":"https://api.github.com/users/MSaifAsif/followers","following_url":"https://api.github.com/users/MSaifAsif/following{/other_user}","gists_url":"https://api.github.com/users/MSaifAsif/gists{/gist_id}","starred_url":"https://api.github.com/users/MSaifAsif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSaifAsif/subscriptions","organizations_url":"https://api.github.com/users/MSaifAsif/orgs","repos_url":"https://api.github.com/users/MSaifAsif/repos","events_url":"https://api.github.com/users/MSaifAsif/events{/privacy}","received_events_url":"https://api.github.com/users/MSaifAsif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-24T16:42:04Z","updated_at":"2015-01-24T16:42:04Z","closed_at":null,"body":"I am trying to find the size of a particular directory using the following but I get a module has no attribute error.\r\n\r\n```python\r\n>>> import pydoop.hdfs.path as hpath\r\n>>> hpath\r\n<module 'pydoop.hdfs.path' from '/usr/local/lib/python2.7/dist-packages/pydoop/hdfs/path.pyc'>\r\n>>> hpath.abspath('/19026/local_saif/abc.txt')\r\n'hdfs://localhost:54310/19026/local_saif/abc.txt\r\n>>> hpath.dirname('/19026/local_saif/abc.txt)\r\n'/19026/local_saif'\r\n>>> hpath.getsize('/19026/local_saif/abc.txt')\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'getsize'\r\n```\r\n\r\nI am trying to get the size of a directory, i.e I want the size of a particular directory including all subdirectories. Any help in this regard would be appreciated."}}