You will get this error, when native and winutils project are not built properly.
(hadoop-common-project\hadoop-common\src\main\native and hadoop-common-project\hadoop-common\src\main\winutils)
Even if they are built, you may not be having proper version off MSVCRT (Visual C++ runtime) DLL in the path.
Provide this information:
Did you successfully build Hadoop-Common native and winutils? Which VC++ compiler did you use?
Which version of Hadoop are you using?
Your windows is 32-bit or 64-bit?
If you are using Win32 and Hadoop version is less than 2.7 ,apply patch from HADOOP-9922 to compile on 32-bit
Also have look at compilation steps in this blog:
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!