# Path: collectors/lib/utils.py
# def is_numeric(value):
#     return isinstance(value, (int, float))


import sys
    import json
    from collections import OrderedDict  # New in Python 2.7
    from ordereddict import OrderedDict  # Can be easy_install'ed for <= 2.6
from collectors.lib.utils import is_numeric
    from http.client import HTTPConnection
    from httplib import HTTPConnection
# option) any later version.  This program is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
# General Public License for more details.  You should have received a copy
# of the GNU Lesser General Public License along with this program.  If not,
# see <http://www.gnu.org/licenses/>.


try:
except ImportError:
    json = None
try:
except ImportError:

try:
    # noinspection PyCompatibility
except ImportError:
    # noinspection PyUnresolvedReferences,PyCompatibility


EXCLUDED_KEYS = (
    "Name",
    "name"
)

def recurse(key,value):
    if type(value) == dict:
        for k,v in value.items():
            newkey = '_'.join([key,k])
            for j in recurse(newkey,v):

# Path: collectors/lib/utils.py
# def is_numeric(value):
#     return isinstance(value, (int, float))


# Path: collectors/lib/hadoop_http.py
import sys
    import json
    from collections import OrderedDict  # New in Python 2.7
    from ordereddict import OrderedDict  # Can be easy_install'ed for <= 2.6
from collectors.lib.utils import is_numeric
    from http.client import HTTPConnection
    from httplib import HTTPConnection

# option) any later version.  This program is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
# General Public License for more details.  You should have received a copy
# of the GNU Lesser General Public License along with this program.  If not,
# see <http://www.gnu.org/licenses/>.


try:
except ImportError:
    json = None
try:
except ImportError:

try:
    # noinspection PyCompatibility
except ImportError:
    # noinspection PyUnresolvedReferences,PyCompatibility


EXCLUDED_KEYS = (
    "Name",
    "name"
)

def recurse(key,value):
    if type(value) == dict:
        for k,v in value.items():
            newkey = '_'.join([key,k])
            for j in recurse(newkey,v):

                yield j