Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,34 @@ hbase({
.version();
```

Using kdestroy:
```javascript
const hbase = require('hbase');
const client = hbase({
host: '127.0.0.1',
port: 8080,
"krb5": {
"principal": "{username}@{REALM}",
"password": "{password}",
"service_principal": "HTTP@{fqdn}"
}
});

/**
* destroys credential cache
* options:
* ccname (optionnal)
* Credential cache location. If this is not specified, default path is taken from environment variable KRB5CCNAME, then from /etc/krb5.conf.
* callback
* err
* Should be undefined. Otherwise it contains an error message.
* eg:
* 1. no options -> client.kdestroy(callback)
* 2. nothing -> client.kdestroy()
*/
client.kdestroy(options, callback)
```

## Scanner and Filters

The scanner implement the `stream.Readable` API. For ease of usage, an optional
Expand Down
30 changes: 23 additions & 7 deletions lib/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 19 additions & 15 deletions lib/connection.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.