[ 
https://issues.apache.org/jira/browse/HIVE-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657242#comment-13657242
 ] 

Xi Fang commented on HIVE-4555:
-------------------------------

Currently, Hive won’t have Cygwin dependency issues for runtime and building. 
But we still need to enable Cygwin to run unit tests for Hive. One workaround 
is adding several executables in %PATH%.  Cygwin has about 220 executables to 
mock the Linux environment. We may only need around 10-20 executables. The 
following is a list:
1.      bash.exe                                                                
                                                                                
  
2.      cat.exe                                                                 
                                                                                
  
3.      cp.exe                                                                  
                                                                                
  
4.      cut.exe                                                                 
                                                                                
  
5.      date.exe                                                                
                                                                                
  
6.      diff.exe                                                                
                                                                                
  
7.      echo.exe                                                                
                                                                                
  
8.      find.exe                                                                
                                                                                
  
9.      gzexe                                                                   
                                                                                
  
10.     gzip.exe                                                                
                                                                                
  
11.     hostname.exe                                                            
                                                                                
  
12.     md5sum.exe                                                              
                                                                                
  
13.     mkdir.exe                                                               
                                                                                
  
14.     sed.exe                                                                 
                                                                                
  
15.     sh.exe                                                                  
                                                                                
  
16.     sleep.exe                                                               
                                                                                
  
17.     sort.exe                                                                
                                                                                
  
18.     tar.exe                                                                 
                                                                                
  
19.     whoami.exe                                                              
                                                                                
  
20.     xargs.exe    


This is a superset of necessary executables. Some of them may not be needed. 
Possible unified solutions include using Java or Python to rewrite these 
executable files. 
                
> Run Hive unit test on windows without Cygwin
> --------------------------------------------
>
>                 Key: HIVE-4555
>                 URL: https://issues.apache.org/jira/browse/HIVE-4555
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests, Windows
>    Affects Versions: 0.11.0
>         Environment: Windows
>            Reporter: Xi Fang
>
> In order to run Hive unit tests on Windows, we need to enable Cygwin. A 
> solution is needed to remove this constraint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to