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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]