You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/08/09 08:24:09 UTC

[GitHub] [flink] kosigz opened a new pull request, #20511: Unlink symlink before creation

kosigz opened a new pull request, #20511:
URL: https://github.com/apache/flink/pull/20511

   ```
       os.symlink(os.path.join(LIB_PATH, LIB_FLINK_SQL_CONNECTOR_HIVE_JAR_NAME),
   FileExistsError: [Errno 17] File exists: '/src/streamingplatform/flink-release/flink/flink-dist/target/flink-1.13-lyft202208091660030006-bin/flink-1.13-lyft202208091660030006/lib/flink-sql-connector-hive-2.3.6_2.11-1.13-lyft202208091660030006.jar' -> 'deps/lib/flink-sql-connector-hive-2.3.6_2.11-1.13-lyft202208091660030006.jar'
   ```
   
   Seeing this in CI which suggests that `deps/lib/flink-sql-connector-hive-2.3.6_2.11-1.13-lyft202208091660030006.jar` somehow already exists.
   
   Reproduced as shown:
   
   ```
   >>> os.symlink('foo', 'bar')
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   NameError: name 'os' is not defined
   >>> import os
   >>> os.symlink('foo', 'bar')
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   FileExistsError: [Errno 17] File exists: 'foo' -> 'bar'
   >>> quit()
   ➜  symlink ls -l
   total 0
   lrwxr-xr-x  1 kgizdarski  staff  3 Aug  9 01:17 bar -> foo
   ➜  symlink ls
   bar
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] flinkbot commented on pull request #20511: Unlink symlink before creation

Posted by GitBox <gi...@apache.org>.
flinkbot commented on PR #20511:
URL: https://github.com/apache/flink/pull/20511#issuecomment-1209085049

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e0654a81c17f975f5f9729d0eb2c015cca6c3bde",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e0654a81c17f975f5f9729d0eb2c015cca6c3bde",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e0654a81c17f975f5f9729d0eb2c015cca6c3bde UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] kosigz closed pull request #20511: Unlink symlink before creation

Posted by GitBox <gi...@apache.org>.
kosigz closed pull request #20511: Unlink symlink before creation
URL: https://github.com/apache/flink/pull/20511


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org