hadoop.proxyuser.root.hosts
            *
     

    
            hadoop.proxyuser.root.groups
            *
    

After adding the property files into core-site.xml restart your hadoop and try. Even though if it not works format the namenode and start hadoop it will work.