You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/23 00:32:07 UTC

[GitHub] [incubator-shardingsphere] codefans opened a new issue #4892: cannot create directory due to Filename too long in Win10

codefans opened a new issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892
 
 
   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   when i clone this repository in Git Bash of Win10, it occur error:
   cannot create directory at 'sharding-transaction/sharding-transaction-2pc/sharding-transaction-xa/sharding-transaction-xa-atomikos/sharding-transaction-xa-atomikos-manager/src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager': Filename too long
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/incubator-shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response **more than 7 days** and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   
   ### Expected behavior
   
   ### Actual behavior
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] yu199195 commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602315887
 
 
   Hi, set  git config --global core.longpaths true.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] codefans commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
codefans commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602393534
 
 
   > Hi, set git config --global core.longpaths true.
   
   thanks, I just think the user experience is not good

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] tuohai666 commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-603006769
 
 
   @codefans Maybe we could change the path this time, but long filename will always happen in future.
   I agree with @yu199195 and @kimmking, these configuration also useful to other projects, developers have to know how to set.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] codefans commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
codefans commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602636962
 
 
   > @codefans Any idea to avoid this issue?
   
   Is it possible change: 
   sharding-transaction
   	sharding-transaction-2pc
   		sharding-transaction-xa
   			sharding-transaction-xa-atomikos
   				sharding-transaction-xa-atomikos-manager
   					src/main/java/org/apache/shardingsphere/transaction/xa/atomikos
   to: 	
   sharding-transaction
   	sharding-transaction-2pc-xa
   		src/main/java/org/apache/shardingsphere/transaction/xa/atomikos
   		src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-604321732
 
 
   I had modify FAQ with https://github.com/apache/incubator-shardingsphere/pull/4949

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] codefans edited a comment on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
codefans edited a comment on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602636962
 
 
   > @codefans Any idea to avoid this issue?
   
   Is it possible change: 
   sharding-transaction
   --->sharding-transaction-2pc
   ------>sharding-transaction-xa
   --------->sharding-transaction-xa-atomikos
   ------------->sharding-transaction-xa-atomikos-manager
   ----------------->src/main/java/org/apache/shardingsphere/transaction/xa/atomikos
   to: 	
   sharding-transaction
   --->sharding-transaction-2pc-xa
   ------->src/main/java/org/apache/shardingsphere/transaction/xa/atomikos
   ------->src/main/java/org/apache/shardingsphere/transaction/xa/atomikos/manager
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602328293
 
 
   you should turn on longpath options of Windows:
   - git: git config --global core.longpaths true
   - windows: User Group strategy -> Long path -> 1    referred: https://www.zhihu.com/pin/1216043691736969216

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602328293
 
 
   you should turn on longpath options of Windows.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] codefans commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
codefans commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602393681
 
 
   > you should turn on longpath options of Windows:
   > 
   > * git: git config --global core.longpaths true
   > * windows: User Group strategy -> Long path -> 1    referred: https://www.zhihu.com/pin/1216043691736969216
   
   thanks, I just think we should try to reduce obstacles for users.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] codefans edited a comment on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
codefans edited a comment on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602393534
 
 
   > Hi, set git config --global core.longpaths true.
   
   thanks, I just think the user experience is not very well

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602782275
 
 
   many subproject contains files that exceed window default path-length, this is not a small issue in this way.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602425268
 
 
   @codefans Any idea to avoid this issue?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602328293
 
 
   you should turn on longpath options of Windows:
   - git: git config --global core.longpaths true
   - windows: User Group strategy -> Long path -> 1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
kimmking edited a comment on issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892#issuecomment-602328293
 
 
   you should turn on longpath options of Windows:
   - git: git config --global core.longpaths true
   - windows: User Group strategy -> Long path -> 1    referred: kimmking的想法 - 知乎
   https://www.zhihu.com/pin/1216043691736969216

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] tuohai666 closed issue #4892: cannot create directory due to Filename too long in Win10

Posted by GitBox <gi...@apache.org>.
tuohai666 closed issue #4892: cannot create directory due to Filename too long in Win10
URL: https://github.com/apache/incubator-shardingsphere/issues/4892
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services