Return true if HDFS (HadoopFileSystem) library is set up correctly.
()
| 109 | |
| 110 | |
| 111 | def have_libhdfs(): |
| 112 | """ |
| 113 | Return true if HDFS (HadoopFileSystem) library is set up correctly. |
| 114 | """ |
| 115 | try: |
| 116 | from pyarrow._hdfs import _have_libhdfs # noqa |
| 117 | return _have_libhdfs() |
| 118 | except ImportError: |
| 119 | return False |
| 120 | |
| 121 | |
| 122 | def show_info(): |
nothing calls this directly
no outgoing calls
no test coverage detected