You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Iván Galaviz <iv...@gmail.com> on 2017/11/10 01:44:54 UTC

Problems installing Hadoop on Windows Server 2012 R2

Hi,

I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,

I'm currently trying to install it with these programs:
JDK 8u151
Maven 3.5.2
ProtocolBuffer 2.5.0
Cmake 3.9.5
Cygwin 2.9.0
Visual Studio 2017
All of these are installed on a x64 computer

This was the last error I found:

>      [exec]     Project
> "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
> on node 1 (default targets).
>      [exec]     C:\Progra~2\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5):
> error MSB4062: The "SetEnv" task could not be loaded from the assembly
> C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll.
> Could not load file or assembly 'Microsoft.Build.Utilities.Core,
> Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
> of its dependencies. The system cannot find the file specified. Confirm
> that the <UsingTask> declaration is correct, that the assembly and all its
> dependencies are available, and that the task contains a public class that
> implements Microsoft.Build.Framework.ITask.
> [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
>      [exec]     Done Building Project
> "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
> (default targets) -- FAILED.
>

 As you can see, I'm having problems specially with VS.

Should I install older versions of these programs or something else?

Thank you in advance.

Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by "Bible, Landy" <la...@utulsa.edu>.
​Pavel,


It was years ago, I don't remember the specific version. It was around 2010 or 2011, so whatever was available at the time. I'm not sure it was even 1.x yet.


-Landy


________________________________
From: Pavel Drankov <ti...@gmail.com>
Sent: Sunday, November 12, 2017 2:50 AM
To: Bible, Landy
Cc: Alfonso Elizalde; Clay McDonald; Dr. Tibor Kurina; user@hadoop.apache.org
Subject: Re: Problems installing Hadoop on Windows Server 2012 R2

Hi Landy,

Have you remember the hadoop distribution version you used to install on windows?

Best wishes,
Pavel

On 12 November 2017 at 04:45, Bible, Landy <la...@utulsa.edu>> wrote:

I don't have anything useful to add, but years ago I did install the hdfs datanode service on about 100 windows lab computers in order to reclaim gigabytes of wasted space and use it for backup storage.


It may not be typical, but installing on Windows does have it's uses sometimes.


-Landy

Sent from Nine<http://www.9folders.com/>
________________________________
From: Alfonso Elizalde <el...@gmail.com>>
Sent: Nov 11, 2017 14:16
To: Clay McDonald
Cc: Dr. Tibor Kurina; Pavel Drankov; user@hadoop.apache.org<ma...@hadoop.apache.org>

Subject: Re: Problems installing Hadoop on Windows Server 2012 R2

What is windows? :)


> On Nov 11, 2017, at 2:15 PM, Clay McDonald <st...@bateswhite.com>> wrote:
>
>
> So funny! Even Microsoft has moved on to Linux. All cloud servers are Linux and now all DotNet has been ported over to Linux. We have started installing SQL Server on Linux. I've work on Windows my whole career, but now I'm studying for my Linux Admin exam. Windows as a server OS is starting to die out.
>
> On Nov 11, 2017, at 12:08 PM, Dr. Tibor Kurina <ti...@gmail.com>>> wrote:
>
> Exactly... ?
> Why, for the HELL, You trying to install Hadoop on the windows...?
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> From: Pavel Drankov<ma...@gmail.com>
> Sent: Saturday, November 11, 2017 18:06
> Cc: user@hadoop.apache.org<ma...@hadoop.apache.org>>
> Subject: Re: Problems installing Hadoop on Windows Server 2012 R2
>
> Hi,
>
> Why are you trying to run it on Winodws? It is not recommended.
>
> Best wishes,
> Pavel
>
> On 10 November 2017 at 04:44, Iv?n Galaviz <iv...@gmail.com>>> wrote:
> Hi,
> I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
> I'm currently trying to install it with these programs:
> JDK 8u151
> Maven 3.5.2
> ProtocolBuffer 2.5.0
> Cmake 3.9.5
> Cygwin 2.9.0
> Visual Studio 2017
> All of these are installed on a x64 computer
> This was the last error I found:
>     [exec]     Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" on node 1 (default targets).
>     [exec]     C:\Progra~2\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
>     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.
>
> As you can see, I'm having problems specially with VS.
>
> Should I install older versions of these programs or something else?
>
> Thank you in advance.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org<ma...@hadoop.apache.org>
> For additional commands, e-mail: user-help@hadoop.apache.org<ma...@hadoop.apache.org>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org<ma...@hadoop.apache.org>
For additional commands, e-mail: user-help@hadoop.apache.org<ma...@hadoop.apache.org>



Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by Pavel Drankov <ti...@gmail.com>.
Hi Landy,

Have you remember the hadoop distribution version you used to install on
windows?

Best wishes,
Pavel

On 12 November 2017 at 04:45, Bible, Landy <la...@utulsa.edu> wrote:

> I don't have anything useful to add, but years ago I did install the hdfs
> datanode service on about 100 windows lab computers in order to reclaim
> gigabytes of wasted space and use it for backup storage.
>
> It may not be typical, but installing on Windows does have it's uses
> sometimes.
>
> -Landy
> Sent from Nine <http://www.9folders.com/>
> ------------------------------
> *From:* Alfonso Elizalde <el...@gmail.com>
> *Sent:* Nov 11, 2017 14:16
> *To:* Clay McDonald
> *Cc:* Dr. Tibor Kurina; Pavel Drankov; user@hadoop.apache.org
>
> *Subject:* Re: Problems installing Hadoop on Windows Server 2012 R2
>
> What is windows? :)
>
>
> > On Nov 11, 2017, at 2:15 PM, Clay McDonald <stuart.mcdonald@bateswhite.
> com> wrote:
> >
> >
> > So funny! Even Microsoft has moved on to Linux. All cloud servers are
> Linux and now all DotNet has been ported over to Linux. We have started
> installing SQL Server on Linux. I've work on Windows my whole career, but
> now I'm studying for my Linux Admin exam. Windows as a server OS is
> starting to die out.
> >
> > On Nov 11, 2017, at 12:08 PM, Dr. Tibor Kurina <tibor.kurina@gmail.com<
> mailto:tibor.kurina@gmail.com>> wrote:
> >
> > Exactly... ?
> > Why, for the HELL, You trying to install Hadoop on the windows...?
> >
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
> >
> > From: Pavel Drankov<mailto:titantins@gmail.com <ti...@gmail.com>>
> > Sent: Saturday, November 11, 2017 18:06
> > Cc: user@hadoop.apache.org<ma...@hadoop.apache.org>
> > Subject: Re: Problems installing Hadoop on Windows Server 2012 R2
> >
> > Hi,
> >
> > Why are you trying to run it on Winodws? It is not recommended.
> >
> > Best wishes,
> > Pavel
> >
> > On 10 November 2017 at 04:44, Iv?n Galaviz <ivanovishado@gmail.com<
> mailto:ivanovishado@gmail.com>> wrote:
> > Hi,
> > I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
> > I'm currently trying to install it with these programs:
> > JDK 8u151
> > Maven 3.5.2
> > ProtocolBuffer 2.5.0
> > Cmake 3.9.5
> > Cygwin 2.9.0
> > Visual Studio 2017
> > All of these are installed on a x64 computer
> > This was the last error I found:
> >     [exec]     Project "C:\hdp\hadoop-hdfs-project\
> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
> on node 1 (default targets).
> >     [exec]     C:\Progra~2\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5):
> error MSB4062: The "SetEnv" task could not be loaded from the assembly
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file
> or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
> dependencies. The system cannot find the file specified. Confirm that the
> <UsingTask> declaration is correct, that the assembly and all its
> dependencies are available, and that the task contains a public class that
> implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\
> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.
> 5\VCTargetsPath.vcxproj]
> >     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\
> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
> (default targets) -- FAILED.
> >
> > As you can see, I'm having problems specially with VS.
> >
> > Should I install older versions of these programs or something else?
> >
> > Thank you in advance.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> > For additional commands, e-mail: user-help@hadoop.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
>
>

Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by "Bible, Landy" <la...@utulsa.edu>.
I don't have anything useful to add, but years ago I did install the hdfs datanode service on about 100 windows lab computers in order to reclaim gigabytes of wasted space and use it for backup storage.


It may not be typical, but installing on Windows does have it's uses sometimes.


-Landy

Sent from Nine<http://www.9folders.com/>
________________________________
From: Alfonso Elizalde <el...@gmail.com>
Sent: Nov 11, 2017 14:16
To: Clay McDonald
Cc: Dr. Tibor Kurina; Pavel Drankov; user@hadoop.apache.org
Subject: Re: Problems installing Hadoop on Windows Server 2012 R2

What is windows? :)


> On Nov 11, 2017, at 2:15 PM, Clay McDonald <st...@bateswhite.com> wrote:
>
>
> So funny! Even Microsoft has moved on to Linux. All cloud servers are Linux and now all DotNet has been ported over to Linux. We have started installing SQL Server on Linux. I've work on Windows my whole career, but now I'm studying for my Linux Admin exam. Windows as a server OS is starting to die out.
>
> On Nov 11, 2017, at 12:08 PM, Dr. Tibor Kurina <ti...@gmail.com>> wrote:
>
> Exactly... ?
> Why, for the HELL, You trying to install Hadoop on the windows...?
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> From: Pavel Drankov<ma...@gmail.com>
> Sent: Saturday, November 11, 2017 18:06
> Cc: user@hadoop.apache.org<ma...@hadoop.apache.org>
> Subject: Re: Problems installing Hadoop on Windows Server 2012 R2
>
> Hi,
>
> Why are you trying to run it on Winodws? It is not recommended.
>
> Best wishes,
> Pavel
>
> On 10 November 2017 at 04:44, Iv?n Galaviz <iv...@gmail.com>> wrote:
> Hi,
> I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
> I'm currently trying to install it with these programs:
> JDK 8u151
> Maven 3.5.2
> ProtocolBuffer 2.5.0
> Cmake 3.9.5
> Cygwin 2.9.0
> Visual Studio 2017
> All of these are installed on a x64 computer
> This was the last error I found:
>     [exec]     Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" on node 1 (default targets).
>     [exec]     C:\Progra~2\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
>     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.
>
> As you can see, I'm having problems specially with VS.
>
> Should I install older versions of these programs or something else?
>
> Thank you in advance.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org


Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by Alfonso Elizalde <el...@gmail.com>.
What is windows? :)


> On Nov 11, 2017, at 2:15 PM, Clay McDonald <st...@bateswhite.com> wrote:
> 
> 
> So funny! Even Microsoft has moved on to Linux. All cloud servers are Linux and now all DotNet has been ported over to Linux. We have started installing SQL Server on Linux. I've work on Windows my whole career, but now I'm studying for my Linux Admin exam. Windows as a server OS is starting to die out.
> 
> On Nov 11, 2017, at 12:08 PM, Dr. Tibor Kurina <ti...@gmail.com>> wrote:
> 
> Exactly... ?
> Why, for the HELL, You trying to install Hadoop on the windows...?
> 
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> From: Pavel Drankov<ma...@gmail.com>
> Sent: Saturday, November 11, 2017 18:06
> Cc: user@hadoop.apache.org<ma...@hadoop.apache.org>
> Subject: Re: Problems installing Hadoop on Windows Server 2012 R2
> 
> Hi,
> 
> Why are you trying to run it on Winodws? It is not recommended.
> 
> Best wishes,
> Pavel
> 
> On 10 November 2017 at 04:44, Iv?n Galaviz <iv...@gmail.com>> wrote:
> Hi,
> I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
> I'm currently trying to install it with these programs:
> JDK 8u151
> Maven 3.5.2
> ProtocolBuffer 2.5.0
> Cmake 3.9.5
> Cygwin 2.9.0
> Visual Studio 2017
> All of these are installed on a x64 computer
> This was the last error I found:
>     [exec]     Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" on node 1 (default targets).
>     [exec]     C:\Progra~2\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
>     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.
> 
> As you can see, I'm having problems specially with VS.
> 
> Should I install older versions of these programs or something else?
> 
> Thank you in advance.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org


Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by Clay McDonald <st...@bateswhite.com>.
So funny! Even Microsoft has moved on to Linux. All cloud servers are Linux and now all DotNet has been ported over to Linux. We have started installing SQL Server on Linux. I've work on Windows my whole career, but now I'm studying for my Linux Admin exam. Windows as a server OS is starting to die out.

On Nov 11, 2017, at 12:08 PM, Dr. Tibor Kurina <ti...@gmail.com>> wrote:

Exactly... ?
Why, for the HELL, You trying to install Hadoop on the windows...?

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Pavel Drankov<ma...@gmail.com>
Sent: Saturday, November 11, 2017 18:06
Cc: user@hadoop.apache.org<ma...@hadoop.apache.org>
Subject: Re: Problems installing Hadoop on Windows Server 2012 R2

Hi,

Why are you trying to run it on Winodws? It is not recommended.

Best wishes,
Pavel

On 10 November 2017 at 04:44, Iv?n Galaviz <iv...@gmail.com>> wrote:
Hi,
I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
I'm currently trying to install it with these programs:
JDK 8u151
Maven 3.5.2
ProtocolBuffer 2.5.0
Cmake 3.9.5
Cygwin 2.9.0
Visual Studio 2017
All of these are installed on a x64 computer
This was the last error I found:
     [exec]     Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" on node 1 (default targets).
     [exec]     C:\Progra~2\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.

 As you can see, I'm having problems specially with VS.

Should I install older versions of these programs or something else?

Thank you in advance.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org


RE: Problems installing Hadoop on Windows Server 2012 R2

Posted by "Dr. Tibor Kurina" <ti...@gmail.com>.
Exactly… 😊
Why, for the HELL, You trying to install Hadoop on the windows…?

Sent from Mail for Windows 10

From: Pavel Drankov
Sent: Saturday, November 11, 2017 18:06
Cc: user@hadoop.apache.org
Subject: Re: Problems installing Hadoop on Windows Server 2012 R2

Hi, 

Why are you trying to run it on Winodws? It is not recommended.


Best wishes,
Pavel

On 10 November 2017 at 04:44, Iván Galaviz <iv...@gmail.com> wrote:
Hi,
I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
I'm currently trying to install it with these programs:
JDK 8u151
Maven 3.5.2
ProtocolBuffer 2.5.0
Cmake 3.9.5
Cygwin 2.9.0
Visual Studio 2017
All of these are installed on a x64 computer
This was the last error I found:
     [exec]     Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" on node 1 (default targets).
     [exec]     C:\Progra~2\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj]
     [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.

 As you can see, I'm having problems specially with VS.

Should I install older versions of these programs or something else?

Thank you in advance.



Re: Problems installing Hadoop on Windows Server 2012 R2

Posted by Pavel Drankov <ti...@gmail.com>.
Hi,

Why are you trying to run it on Winodws? It is not recommended.

Best wishes,
Pavel

On 10 November 2017 at 04:44, Iván Galaviz <iv...@gmail.com> wrote:

> Hi,
>
> I'm having a lot of problems installing Hadoop on Windows Server 2012 R2,
>
> I'm currently trying to install it with these programs:
> JDK 8u151
> Maven 3.5.2
> ProtocolBuffer 2.5.0
> Cmake 3.9.5
> Cygwin 2.9.0
> Visual Studio 2017
> All of these are installed on a x64 computer
>
> This was the last error I found:
>
>>      [exec]     Project "C:\hdp\hadoop-hdfs-project\
>> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
>> on node 1 (default targets).
>>      [exec]     C:\Progra~2\Microsoft Visual
>> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5):
>> error MSB4062: The "SetEnv" task could not be loaded from the assembly
>> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
>> IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load
>> file or assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0,
>> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
>> dependencies. The system cannot find the file specified. Confirm that the
>> <UsingTask> declaration is correct, that the assembly and all its
>> dependencies are available, and that the task contains a public class that
>> implements Microsoft.Build.Framework.ITask. [C:\hdp\hadoop-hdfs-project\
>> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.
>> 5\VCTargetsPath.vcxproj]
>>      [exec]     Done Building Project "C:\hdp\hadoop-hdfs-project\
>> hadoop-hdfs-native-client\target\native\CMakeFiles\3.9.5\VCTargetsPath.vcxproj"
>> (default targets) -- FAILED.
>>
>
>  As you can see, I'm having problems specially with VS.
>
> Should I install older versions of these programs or something else?
>
> Thank you in advance.
>