[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-03-21 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15934761#comment-15934761
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 3/21/17 4:11 PM:
--

[~janhoy] not really, I tried a bunch of things but I am not great with CSS. I 
referred this: 
http://stackoverflow.com/questions/2539207/how-to-change-the-strike-out-line-through-thickness-in-css
 and bunch of other helping CSS links but it is just not recognising this CSS 
on those particular element. Some type of overriding hierarchy which I did't 
had chance to play along.

We can add background color/image in CSS or *(inactive)* as suffix easily in JS 
though. Adding plain text will be much more simple and informative than giving 
special background. Let me know your thoughts.



was (Author: sarkaramr...@gmail.com):
[~janhoy] not really, I tried a bunch of things but I am not great with CSS. I 
referred this: 
http://stackoverflow.com/questions/2539207/how-to-change-the-strike-out-line-through-thickness-in-css
 and bunch of other helping CSS links but it is just not recognising this CSS 
on those particular element. Some type of overriding hierarchy which I did't 
has chance to play along.

We can add background color/image in CSS or *(inactive)* as suffix easily in JS 
though. Adding plain text will be much more simple and informative than giving 
special background. Let me know your thoughts.


> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
> Fix For: 6.5
>
> Attachments: color_and_style.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png, 
> SOLR-10147.patch, SOLR-10147.patch, SOLR-10147-v1.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-03-21 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15934761#comment-15934761
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 3/21/17 3:18 PM:
--

[~janhoy] not really, I tried a bunch of things but I am not great with CSS. I 
referred this: 
http://stackoverflow.com/questions/2539207/how-to-change-the-strike-out-line-through-thickness-in-css
 and bunch of other helping CSS links but it is just not recognising this CSS 
on those particular element. Some type of overriding hierarchy which I did't 
has chance to play along.

We can add background color/image in CSS or *(inactive)* as suffix easily in JS 
though. Adding plain text will be much more simple and informative than giving 
special background. Let me know your thoughts.



was (Author: sarkaramr...@gmail.com):
[~janhoy] not really, I tried a bunch of things but I am not great with CSS. I 
referred this: 
http://stackoverflow.com/questions/2539207/how-to-change-the-strike-out-line-through-thickness-in-css
 and bunch of other helping CSS links but it is just not recognising this CSS 
on those particular element. Some type of overriding hierarchy which I did't 
has chance to play along.

We can add background color/image in CSS *(inactive)* as suffix easily in JS 
though. Adding plain text will be much more simple and informative than giving 
special background. Let me know your thoughts.


> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
> Fix For: 6.5
>
> Attachments: color_and_style.png, screenshot-1.png, screenshot-2.png, 
> screenshot-3.png, screenshot-4.png, screenshot-5.png, screenshot-6.png, 
> SOLR-10147.patch, SOLR-10147.patch, SOLR-10147-v1.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-20 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874975#comment-15874975
 ] 

Jan Høydahl edited comment on SOLR-10147 at 2/20/17 7:27 PM:
-

I'm not sure it is even important to distinguish between various states of an 
inactive shard/replica? We could use _italics_ or *bold*, or even 
-strikethrough- in order to not being dependent on colors. BTW, it is bad 
practice to rely on colors only, ref color blind people or if you print the 
page on a B/W printer :-)

So to try to improve on the existing states as well, what if we create a scheme 
with combinations of color and style, here is an attempt where we use bold to 
signify Leader, italic to mean recovering and strike-through means inactive, 
while double strikethrough means Gone. See screen shot:
!color_and_style.png!

http://jsfiddle.net/janhoy/w4Ldbhy7/4/


was (Author: janhoy):
I'm not sure it is even important to distinguish between various states of an 
inactive shard/replica? We could use _italics_ or *bold*, or even 
-strikethrough- in order to not being dependent on colors. BTW, it is bad 
practice to rely on colors only, ref color blind people or if you print the 
page on a B/W printer :-)

So to try to improve on the existing colors as well, what if we create a scheme 
with combinations of color and style, here is an attempt where we use bold to 
signify Leader, italic to mean recovering, strike-through means down or 
inactive, while double strikethrough means Gone. See screen shot:
!color_and_style.png!

http://jsfiddle.net/janhoy/w4Ldbhy7/3/

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
> Attachments: color_and_style.png, screenshot-1.png, SOLR-10147.patch, 
> SOLR-10147.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-20 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874845#comment-15874845
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/20/17 6:38 PM:
--

Mr. Høydahl,

Ah, how did I miss that!. Kindly provide your suggestion on how to design this: 
probably 'grey' for replica, when shard is inactive and replica is active, and 
rest for replicas, everything as it is?

Patch uploaded for the same.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl,

Ah, how did I miss that!. Kindly provide your suggestion on how to design this: 
probably Color 'grey' for replica, when shard is inactive and replica is 
active, and rest for replicas, everything as it is?

Patch uploaded for the same.

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
> Attachments: screenshot-1.png, SOLR-10147.patch, SOLR-10147.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-20 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874845#comment-15874845
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/20/17 5:39 PM:
--

Mr. Høydahl,

Ah, how did I miss that!. Kindly provide your suggestion on how to design this: 
probably Color 'grey' for replica, when shard is inactive and replica is 
active, and rest for replicas, everything as it is?

Patch uploaded for the same.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl,

Ah, how did I miss that!. Kindly provide your suggestion on how to design this: 
probably Color 'grey' for replica, when shard is inactive and replica is 
active, and rest for replicas, everything as it is?

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
> Attachments: screenshot-1.png, SOLR-10147.patch, SOLR-10147.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-20 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874794#comment-15874794
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/20/17 4:51 PM:
--

Mr. Høydahl

SOLR-10147.patch is first draft for what we are trying to achieve here. I made 
changes in existing CSS as _'grey'_ color is very fine and both _'Inactive'_ 
and _'Gone'_ were almost identical. Made 'Gone' more lighter.

modified:   webapp/web/css/angular/cloud.css
modified:   webapp/web/js/angular/controllers/cloud.js
modified:   webapp/web/partials/cloud.html

Screenshot is attached, color combination is to be decided, whether this is 
good enough or we need to tweak the hex color code more.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl

SOLR-10147.patch is first draft for what we are trying to achieve here. I made 
changes in existing CSS as _'grey'_ color is very fine and both _'Inactive'_ 
and _'Gone'_ were almost identical. Made 'Gone' more lighter.

Screenshot is attached, color combination is to be decided, whether this is 
good enough or we need to tweak the hex color code more.

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
> Attachments: screenshot-1.png, SOLR-10147.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-20 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874794#comment-15874794
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/20/17 4:48 PM:
--

Mr. Høydahl

SOLR-10147.patch is first draft for what we are trying to achieve here. I made 
changes in existing CSS as _'grey'_ color is very fine and both _'Inactive'_ 
and _'Gone'_ were almost identical. Made 'Gone' more lighter.

Screenshot is attached, color combination is to be decided, whether this is 
good enough or we need to tweak the hex color code more.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl

SOLR-10147.patch is first draft for what we are trying to achieve here. I made 
changes in existing CSS as 'grey' color is very fine and both 'Inactive' and 
'Gone' were almost identical. Made 'Gone' more lighter.

Screenshot is attached, color combination is to be decided, whether this is 
good enough or we need to tweak the hex color code more.

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
> Attachments: screenshot-1.png, SOLR-10147.patch
>
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-19 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15873704#comment-15873704
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/19/17 1:59 PM:
--

Mr. Høydahl,

I like the idea of using color on shards, maybe "grey" for inactive and the 
default (empty circle) for the active shards but we can leave the replicas as 
it is. I completely understand that would be somehow not suited to the eyes, 
less human-readable but for an inactive shard, there will be a leader and the 
nodes will have their own state (active,down,recovering) which will not be 
serving requests.

Let me know your thoughts, along with feedback from others, I would like to 
write the patch for this after we decide on what we need.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl,

I like the idea of using color on shards, may "blue" for inactive and the 
default (empty circle) for the active shards but we can leave the replicas as 
it is. I completely understand that would be somehow not suited to the eyes, 
less human-readable but for an inactive shard, there will be a leader and the 
nodes will have their own state (active,down,recovering) which will not be 
serving requests.

Let me know your thoughts, along with feedback from others, I would like to 
write the patch for this after we decide on what we need.

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-10147) Admin UI -> Cloud -> Graph: Impossible to see shard state

2017-02-19 Thread Amrit Sarkar (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15873704#comment-15873704
 ] 

Amrit Sarkar edited comment on SOLR-10147 at 2/19/17 1:57 PM:
--

Mr. Høydahl,

I like the idea of using color on shards, may "blue" for inactive and the 
default (empty circle) for the active shards but we can leave the replicas as 
it is. I completely understand that would be somehow not suited to the eyes, 
less human-readable but for an inactive shard, there will be a leader and the 
nodes will have their own state (active,down,recovering) which will not be 
serving requests.

Let me know your thoughts, along with feedback from others, I would like to 
write the patch for this after we decide on what we need.


was (Author: sarkaramr...@gmail.com):
Mr. Høydahl,

I like the idea of using color on shards, may "red" for inactive and the 
default (empty circle) for the active shards but we can leave the replicas as 
it is. I completely understand that would be somehow not suited to the eyes, 
less human-readable but for an inactive shard, there will be a leader and the 
nodes will have their own state (active,down,recovering) which will not be 
serving requests.

Let me know your thoughts, along with feedback from others, I would like to 
write the patch for this after we decide on what we need.

> Admin UI -> Cloud -> Graph: Impossible to see shard state
> -
>
> Key: SOLR-10147
> URL: https://issues.apache.org/jira/browse/SOLR-10147
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
>
> Currently in the Cloud -> Graph view there is a legend with color codes, but 
> that is for replicas only.
> We need a way to quickly see the state of the shard, in particular if it is 
> active or inactive. For testing, create a collection, then call SPLITSHARD on 
> shard1, and you'll end up with shards {{shard1}}, {{shard1_0}} and 
> {{shard1_1}}. It is not possible to see which one is active or inactive.
> Also, the replicas belonging to the inactive shard are still marked with 
> green "Active", while in reality they are "Inactive".
> The simplest would be to add a new state "Inactive" with color e.g. blue, 
> which would be used on both shard and replica level. But since an inactive 
> replica could also be "Gone" or "Down", there should be some way to indicate 
> both at the same time...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org